Odoo Help


How do I apply changes to and test the TDD Developer Workflow ?

Nikolay Fominykh
on 7/23/14, 2:21 PM 1,013 views


1. How to apply TDD flow to openerp modules? Where to place tests, where is test runner?

2. How to avoid reinstalls of module, to see changes that done in models? 


Ben Bernard

--Ben Bernard--

| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
Ben Bernard
On 7/23/14, 9:27 PM
  1. You can do with unittest2 and save it under tests folder [1]. Or you can do the yaml test and save it under test folder [2].
  2. Argumen init or update needed if you want to update xml data or change field data (database scheme). Any changes in python script will be loaded everytime the server start.

[1] https://doc.odoo.com/trunk/server/05_test_framework/

[2] https://doc.odoo.com/6.1/developer/11_upgrade_and_migration/#yaml-data-serialization

About This Community

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


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 7/23/14, 2:21 PM
Seen: 1013 times
Last updated: 3/16/15, 8:10 AM