Python Unit Test Cases

How to write unit test cases in python, for a tryton module.

This question has been aswered recently on this topic of the forum.

Hope it helps!

Sir, how to write test cases for Many2One field. For example Employee.

Which database is used while running tests? During unit tests, it seems to fetch the table but not the records.

It creates a new database for each case and the transaction is roll-backed after each test.

A post was split to a new topic: No database name

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.