Community mailing list archives

community@mail.odoo.com

Re: Run Odoo v9.0 test suite

by
amerson
- 07/11/2016 23:48:00
so I already did some Googling and found the following:

"As of Odoo 8, running tests outside of the install/update cycle is not supported."

It seems that tests are only launched during install/updates?

On the other hand, I see a bunch of test files in every addon. E.g. in addons/account/test, there are test files like:

- test_account_customer_invoice.py
- test_account_move_closed_period.py

I'm looking for a way to run all the test cases in all the addons. Googling unfortunately hasn't been very helpful. I've also tried asking Odoo support but they pointed me to this community list / forum. 

Can anyone else help me out?

thanks!

 

On Tue, Jul 12, 2016 at 8:56 AM, Caudal Eric <caudaleric@gmail.com> wrote:

Start with odoo.py --help and Google "odoo test"


On Mon, Jul 11, 2016, 22:17 Amerson Lin <amerson@sagapeak.com> wrote:
Hi, 

I cloned Odoo from Github and I would like to run the test suite to get a sense of the test coverage. 

Where can I find the tests and how would I run the test suite?

thanks!
Amerson

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe

--

Eric  Caudal (from my mobile)

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe