Community mailing list archives

Re: The Speed of UnitTests

Vauxoo S.A. de C.V., Nhomar Hernandez
- 08/14/2016 17:25:25

On Sun, Aug 14, 2016 at 4:23 PM, David Arnold <> 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.

Nhomar Hernandez
CEO Vauxoo.
Twitter: @nhomar
Odoo Gold Partner
Skype: nhomar00 (Envia mail previo no lo superviso siempre).
Móvil Venezuela:
+58 4144110269
Móvil México:
+52 1 4773933942