Archive for the 'testing' Category

T2 Breakthrough!

Finally a result!


Generation 42: 1.0
DEBUG: inserting step in the trace: CALL_METHOD, test () ON REF 0
DEBUG: inserting step in the trace: CALL_METHOD, plus3 () ON REF 0
DEBUG: inserting step in the trace: CALL_METHOD, plus3 () ON REF 0
DEBUG: inserting step in the trace: CALL_METHOD, plus3 () ON REF 0
Generation 43: 1.0
DEBUG: inserting step in the trace: CALL_METHOD, minus1 () ON REF 0
DEBUG: inserting step in the trace: CALL_METHOD, plus2 () ON REF 0
DEBUG: removing step from the trace: CALL_METHOD, plus2 () ON REF 0
test 33 -9 24
Generation 44: 0.0
Covering trace found!
The fitness of that trace is: 0.0
The length of that trace is: 54

Method: Examples.GATest.test_0
Target Path Count        : 2
Covered Path Count before: 1
Covered Path Count after : 2

Just so you know… this is a big breakthrough for me ;)
It’s really cool cause I can improve the coverage of T2 using my Genetic Algorithm :)
Now to make it work in more cases =)