Closed jose closed 4 years ago
Hi @jose
Could you please clarify?
Thanks for remark, I updated the documentation. (commit da8a267)
Does the -failing argument support test suites, test cases, or both?
It supports test cases: the parameter allows to specify only the test cases that fail. Astor will automatically search for the other (passing) test cases used for validating regression.
Thanks! Regards Matias
Thanks @martinezmatias, but it isn't clear yet.
You just said "It supports test cases: the parameter allows to specify only the test cases that fail." but your commit says "canonical names of classes with failing test cases". The former implies test methods and the latter implies test classes. I believe the latter is the correct definition right?
-- Best, Jose
Hi @jose Sorry, my comment added more confusion. The latter explanation you mention (that one from the commit is the correct).
It supports test cases: the parameter allows to specify only the test cases that fail. Astor will automatically search for the other (passing) test cases used for validating regression.
I wanted to say that the parameter supports the name of class with test cases, and it does not support names of classes that correspond to Test Suites.
Regards Matias
Hi,
Does the
-failing
argument support test suites, test cases, or both?At the very beginning of section Command line arguments
-failing
argument is defined as 'test case':However, in section Command line arguments example Math-70 from Defects4J the same argument is defined as 'test class'
Could you please clarify?
-- Best, Jose