You can import the project within the Eclipse IDE, or build it from command line by typing
mvn test
in the terminal.
The project consists in the following phases
-
parameters setting, through the
Settingsclass in the packageconfig. This serves to specify where the reference and regressed test suites are. No further edit should be required in this file, for the correct execution of the project. -
correct test suite execution, through the
TestSuiteRunnerclass in the packagerunner. Basically, only theclassRunnershould be edit to point to a JUnit Test Suite class. More info here. The project should create an output folder with the visual trace execution for each test. See an example here. -
broken/regressed test suite execution, through the
TestSuiteRunnerclass in the packagerunner. Basically, only theclassRunnershould be edit to point to another JUnit Test Suite class, that represents the same test suite at point 2 but which is run on a subsequent version. The project should create an output folder with the visual trace execution for each test, and save all the exceptions. See an example here. -
Run visual repair, through the
Mainclass in the packagevisualrepair. The tool will attempt to suggest repairs for the test cases, using the visual information previously saved, by means of a cascade of different repair algorithms based on visual image recognition.