Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Debuging, Launching UTs

Roman Ivanov edited this page · 11 revisions

1) Pleasr be sure that you did a fork from us. Clone your foked repo to your PC.

2) Make sure that code is compilable from terminal, to do so please go to "sevntu-checks" folder and perform commmand "mvn install". Continue only if this passed without errors.

3) Launch Eclipse, make sure that you have "m2e" installed. If not - please use install by update site from here.

4) Import project "sevntu-checks" to workspace. Right click on empty space of Project Explorer view, select menu Import, General / Existing Project into Workspace.

5) After project successfully compiled - launch UTs. Right click on the checkstyle project, choose “Run as/Run configurations”. Double-click on the Junit to create new run configuration. In tab “test” choose Junit4 runner. In tab “Arguments” add to the VM arguments.


Alternatively, you can open “Preferences/Java/Installed JREs”. Edit the used one and add to the default JVM arguments, that described above.

6) Next launches of UTs could be done from toolbar sub-button.

7) If UTs are passed without errors, so you are safe to edit code - all future failures of UTs after your changes will be caused by your changes, and need to be solved by you :).

8) To investigate work of other checks please put break points in java code and debug it.

Something went wrong with that request. Please try again.