Package caseine.mutants
Class Generate
java.lang.Object
caseine.mutants.Generate
A command to generate templates for mutation tests.
It generates the TestSuite and all templates of mutants.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Generate
public Generate()
-
-
Method Details
-
main
- Parameters:
args-- Throws:
Exception
-
publish
public static void publish(String projectPath, String className, String testClassName, int numberOfMutants) throws IOException, ClassNotFoundException Generates the local templates.- Parameters:
projectPath- the project locationclassName- the complete name of the class (example: "fr.uga.m1.Test")testClassName- , can be null if convention is followed with prefix "Test"numberOfMutants- number of mutants to generate- Throws:
IOException- if something wrongClassNotFoundException- if something wrong
-