Odoo Help

Welcome!

This community 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.

1

YAML vs Python unit testing? What is the difference and when should I use each method?

By
Hamzah Belhadj
on 9/1/16, 9:18 AM 263 views

Hi,

at's the difference between unit testing using yaml and or python unittest? and when to use each method...

Thank you,

YAML Support test no more available in latest version

Zahin
on 9/1/16, 9:53 AM

you can check the latest version in github , it's supported.

Hamzah Belhadj
on 9/1/16, 10:00 AM
1
eLBati
On 9/2/16, 5:51 AM

You should use python tests, as YML tests have been removed from master.

See

https://github.com/odoo/odoo/issues/6287#issuecomment-240459221

Actually JSON will be used in tests

Hamzah Belhadj
on 9/2/16, 10:33 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/1/16, 9:18 AM
Seen: 263 times
Last updated: 9/2/16, 10:32 AM