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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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.
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?
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
1
févr. 24
|
4275 | ||
|
0
avr. 16
|
5031 | ||
|
0
mars 25
|
1444 | ||
|
4
avr. 24
|
174326 | ||
|
0
déc. 23
|
2202 |