-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use kanonizo with defeccts4j . please provide detailed answer #4
Comments
Hi @mudasirhw The Kanonizo tool is designed to be used with any Java program, not just with Defects4J - however, i have used the tool with Defects4J for a couple of published research papers (see #6) Firstly, check out the project using Defects4J Compile the project using Defects4J Find the location of the source directory Find the location of the compiled test directory (note that default Defects4J implementation does not support this but my fork of the repo github.com/djpaterson/defects4j does allow this automatically Ensure that both JUnit and Kanonizo Jar are on your classpath Get the path required for compilation from Defects4J (this is used by Kanonizo to load classes) Run Kanonizo: If you need code coverage for your algorithm, add The resulting ordering will be created as
This will create a file containing the index of all of the trigger tests from the version in question. Let me know if you have further questions. |
Hi Dave, i do not know how should i reoreder the execution of test cases based on my algorithm. i have no idea of intrumentation. i am also not ableto comprehend how the techniques implemented by you reorder the test cases. Does it require me indepth knowledhe of java. i am stuck. |
No description provided.
The text was updated successfully, but these errors were encountered: