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.

0

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

By
Nikolay Fominykh
on 7/23/14, 2:21 PM 703 views

Questions: 

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? 

1

Ben Bernard

--Ben Bernard--
1083
| 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

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: 7/23/14, 2:21 PM
Seen: 703 times
Last updated: 3/16/15, 8:10 AM