How to use - williamniemiec/ExecutionFlow GitHub Wiki

💡 Step by step

  1. With Eclipse open, select your project, right click, go to configure and select the option Convert to AspectJ Project:
step1
  1. After that, select your project again, right click, go to AspectJ Tools and select Configure AspectJ Build Path:
step2
  1. Go to the Inpath tab, select Add External JARs... and choose application jar file :
step3
  1. Click Apply and Close:
step4
  1. Right-click on the project, select Build Path and select Configure Build Path...:
step5
  1. Click Add External JARs... and select the file aspectjtools.jar. After that, click Apply and Close:
step6

⚠ Warning: If there are previous versions of the application on this screen, remove all (except the current version) to avoid version conflict issues.

  1. After that, when running any test method (that meets the application's restrictions) the test paths will be generated:
step7

Note: Keep the Eclipse window active while computing the test path; otherwise, the computation may take longer than anticipated.

Note that it is possible to compute all test paths of a package at once, just run JUnit on the package (left-click on the package, go to Run As and select JUnit Test).

⛔ Stopping execution

To stop the application, use the Stop button in the ExecutionFlow window. Do not use the eclipse stop button, otherwise the original files will not be restored. This is because the stop of the Eclipse issues a SIGKILL command, while the stop button in the ExecutionFlow window issues a SIGTERM command to terminate the application. See more about the difference between these two commands here.

stop
⚠️ **GitHub.com Fallback** ⚠️