İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
7032 Görünümler

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.

Avatar
Vazgeç
En İyi Yanıt

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.

Avatar
Vazgeç
Üretici

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

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Şub 24
4469
0
Nis 16
5184
0
Mar 25
1744
4
Nis 24
174742
0
Ara 23
2457