Get "Arguments" and "Called counts" |
Method Name | Usage |
---|---|
getArgument |
|
getCallCount |
|
Sample of getArgument |
MethodCallTest(TestCase) | MethodCall(Test target) | ||
---|---|---|---|
|
|
Console |
---|
[test001] [x=100, y=1] : x / y = 100 [x=100, y=2] : x / y = 50 [x=100, y=3] : x / y = 33 [x=100, y=4] : x / y = 25 [x=100, y=5] : x / y = 20 1st argument is 100 2nd argument is 1 [test002] [x=100, y=1] : x / y = 100 [x=100, y=2] : x / y = 50 [x=100, y=3] : x / y = 33 [x=100, y=4] : x / y = 25 [x=100, y=5] : x / y = 20 1st argument is 100 2nd argument is 3 |
Sample of getCallCount |
MethodCallTest(TestCase) | MethodCall(Test target) | ||
---|---|---|---|
|
|
Console |
---|
[test001] [x=100, y=1] : x / y = 100 [x=100, y=2] : x / y = 50 [x=100, y=3] : x / y = 33 [x=100, y=4] : x / y = 25 [x=100, y=5] : x / y = 20 MethodCall.devide() was called 5 times. |