El 17/10/16 a les 15:32, Markus Bala ha escrit:
Seeing the official modules have Test folder, it contains test case and
May I know how to run test case?
You have several possibilities here:
1. Run the run-test.py script from the tryton server using the -m
<module_name> to execu
2. Execute python setup.py test with the DB_NAME key set in the
environemnt. For example, for runing in a memory sqlite database you can
use the following command:
DB_NAME=:memory: python setup.py test
Note: The second will install the package and the required dependencies.
or when can I find the documentation for unittest?
1. What are prerequisite?
2. How to write?
3. How to run?
I've done some talk about it in the past, you have the slides avaialble
here  and the video record  (sorry but only in spanish)
Hope it helps!
Sergi Almacellas Abellana
You received this message because you are subscribed to the Google Groups
To view this discussion on the web visit