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?
Özel özelliklerden yararlanmak ve harika topluluğumuzla etkileşime geçmek için bugün bir hesap oluşturun!
Üye Ol| İlgili Gönderiler | Cevaplar | Görünümler | Aktivite | |
|---|---|---|---|---|
|
Run individual unit test on v6.0
Çözüldü
|
1
Şub 24
|
5437 | ||
|
0
Nis 16
|
6392 | |||
|
0
Mar 26
|
10 | |||
|
0
Mar 25
|
3222 | |||
|
4
Nis 24
|
177203 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.