El 18/10/16 a les 11:14, Markus Bala ha escrit:
Sorry, I think I made you confuse.
I made 2 question in one email
Yes, i got confused by this fact.
The 1st question is how to write and call unittest. I had already
understand the concept and trying to understand by hand on.
So I think everyth
On Tue, Oct 18, 2016 at 3:44 PM, Sergi Almacellas Abellana wrote:
> 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):
>>
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 w
On Tue, Oct 18, 2016 at 3:18 PM, Sergi Almacellas Abellana wrote:
> El 17/10/16 a les 19:27, Markus Bala ha escrit:
>
>> 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/f
El 17/10/16 a les 19:27, Markus Bala ha escrit:
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?
Yes, you can use proteus to call any RPC method, but I'm pretty sure we
ca
On Mon, Oct 17, 2016 at 8:45 PM, Sergi Almacellas Abellana wrote:
> 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
>> scenario.
>> May I know how to run test case?
>>
>
> You have several possibilities her
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
scenario.
May I know how to run test case?
You have several possibilities here:
1. Run the run-test.py[1] script from the tryton server using the -m
to execu
2. Ex
Hi All,
Seeing the official modules have Test folder, it contains test case and
scenario.
May I know how to run test case?
or when can I find the documentation for unittest?
1. What are prerequisite?
2. How to write?
3. How to run?
best regard,
Markus Bala
--
You received this message because