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.
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?
Skapa ett konto idag för att ta del av exklusiva funktioner och engagera dig i vår fantastiska community!
Registrera dig| Relaterade inlägg | Svar | Vyer | Verksamhet | |
|---|---|---|---|---|
|
1
feb. 24
|
5446 | |||
|
0
apr. 16
|
6396 | |||
|
0
mars 26
|
10 | |||
|
0
mars 25
|
3224 | |||
|
4
apr. 24
|
177215 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.