Community mailing list archives
Re: The Speed of UnitTestsby
Vauxoo S.A. de C.V., Nhomar Hernandez
On Sun, Aug 14, 2016 at 4:23 PM, David Arnold <email@example.com> wrote:
"If your unit tests take more than 10ms to complete, you are definitely doing something wrong."The rationale is obvious: Faster unittests allow for shorter testing cycle, optimally, you want to to TDD (test driven development) and trigger a testing cycle on every save.
What odoo has are unittest + integration tests (horizontal crossed tests including database behavior), thos take more time and it is ok.
But YES it should be cool if they were faster, I have instances that take 1 hour to complete tests.