Package caseine.extra.utils.mutations
Class DynamicTestExecutorImpl5
java.lang.Object
caseine.extra.utils.mutations.DynamicTestExecutor
caseine.extra.utils.mutations.DynamicTestExecutorImpl5
This class is introduced to run dynamically classes of tests. It is
specifically used in the problems of tests by mutation (cf. Lab on mutants).
- Author:
- Christophe Saint-Marcel <christophe.saint-marcel@univ-grenoble-alpes.fr>
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicTestExecutorImpl5(String testClass, String newPackageName) Construct the executor. -
Method Summary
Methods inherited from class caseine.extra.utils.mutations.DynamicTestExecutor
cleanClassPath, compileSources, readCodes, replacePackaging, saveSources
-
Constructor Details
-
DynamicTestExecutorImpl5
public DynamicTestExecutorImpl5(String testClass, String newPackageName) throws FileNotFoundException Construct the executor.- Parameters:
testClass- class of testnewPackageName- location of the mutant- Throws:
FileNotFoundException
-
-
Method Details
-
doTest
Play now a single test.- Specified by:
doTestin classDynamicTestExecutor- Returns:
- number of failures
- Throws:
Exception
-