On Mon, Oct 17, 2016 at 8:45 PM, Sergi Almacellas Abellana <se...@koolpi.com
> El 17/10/16 a les 15:32, Markus Bala ha escrit:
>> Hi All,
>> 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!
>  http://hg.tryton.org/trytond/file/9c2eb1b04df8/trytond/tests
>  http://pokoli.github.io/testing-in-tryton/#/
>  https://www.youtube.com/watch?v=cGfz3MaNxec
thank you for your comment.
Now I understand where to start to write my unit test. I will try later.
I have a question.
Is it possible Proteus able to call method/function?
> Sergi Almacellas Abellana
> Twitter: @pokoli_srk
> You received this message because you are subscribed to the Google Groups
> "tryton-dev" group.
> To view this discussion on the web visit https://groups.google.com/d/ms
You received this message because you are subscribed to the Google Groups
To view this discussion on the web visit