I usually use yaml test. You can check the documentation here : https://doc.odoo.com/6.1/developer/11_upgrade_and_migration/#yaml-data-serialization
Almost every addons come with yaml test. You can check folder "test". It very useful because you can use python tag to execute python script.
If you want to use unittest2 you can follow https://doc.odoo.com/trunk/server/05_test_framework/.
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
|Asked: 7/9/14, 6:11 AM|
|Seen: 536 times|
|Last updated: 3/16/15, 8:10 AM|