El 18/10/16 a les 10:27, Markus Bala ha escrit:
Hi Sergi,

Example code as below, if in the proteus, how am I going to call
"test_method"?

Class stock_move:
    def test_method(self, value1, value2):
        return value1 + value2
If the code is this simple and you want to test only a method I will write a unittest for it and don't test using proteus.

IMHO Proteus should be used when testing full user interaction, on_change functions or full workflows.



--
Sergi Almacellas Abellana
www.koolpi.com
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/msgid/tryton-dev/b4718823-54d2-1101-60b6-7e7acacdbb06%40koolpi.com.

Reply via email to