Odoo Help

0

Difference between python and YAML tests

By
Denis Karataev
on 7/17/13, 8:34 PM 1,892 views

Hello.

What is difference between two kinds of tests? If we can include python code to YAML, why it was needed to add python tests like in "lunch" or in "mail" module?

Thanks.

2
NUMERIGRAPHE
On 11/18/14, 8:16 AM

Some things are still not easy to do in YML, for example testing that a function raises an exception.

Also, the YML testing facility is completly Odoo-centric, whereas the python tests build upon well-known testing practices that most developper teams should be familiar with.

Thanks for your answer. How do you think do we need YML tests at all? In which areas it's better than python tests?

Denis Karataev
on 2/4/15, 4:24 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 7/17/13, 8:34 PM
Seen: 1892 times
Last updated: 3/16/15, 8:10 AM