Closed mabdi closed 4 years ago
in the reduced version, don't add original methods anymore.
in the reduced version, don't add original methods anymore.
Not confirmed. the default test runner doesn't collect all test selectors from superclasses. Revert the change.
Add this method to all test cases. in ASTHelper.
shouldInheritSelectors
^ self superclass shouldInheritSelectors
in amplified classes, shouldInheritSelectors
always should be true
We have a problem in oracle reduction step.
If the mutation produces an error, and this error happens in methods from super, mutation testing marks the mutation as detected without any log. we need to disable shouldInheritSelectors
in oracle reducing.
The class
OPNullSerializerTest
which is the subclass ofOPMementoFileSerializerTest
overwrites the test methods of the parent.But, when we generate amplifed version (intermediate ones) we delete the overwriting methods and add new methods (name with postfix). In this case the methods in the super class is called and cause problem.
TODO: the amplified class must be a subclass of class to amplify.