Step 1: Download and Install
Download the ZIP-File. Unzip the file. Copy the files from the plugins folder into the plugins folder of your eclipse installation. Copy the the directory from the feature folder into the feature folder of your eclipse installation.Step 2: Activate Decoration of classes
Choose WINDOW → PREFERENCES → APPEARANCE → LABEL DECORATION and activate "Decorate Classes with TestCase"Step 3 a: Enter your preferences
Before you can start you have to configure some preferences.If the source folder for your preferences is not named "junit" you have to enter the name of your junit source folder.
By default moreUnit expects your testcases named with suffix "Test". Example class name HelloWorld then the testcase should be name HelloWorldTest. If your suffix differs from this default you have to enter your default here.
The second configuration is the prefix and suffix list used for testcases in your project. You can have lists to use several different prefixes/suffixes in your project.
In some projects package prefixes/suffixes are used (e.g. tests of classes in package com.foo.* are saved at test.com.foo.*/com.foo.test.*), which can be configured as well.
Step 3 b: Enter your project specific preferences (optional)
If you have sourced out the test to another project you have to use project specific settings. Select the project and open PROPERTIES → MOREUNIT. Please choose the project which contains the tests for the underlying project.If you have different settings for your projects in the workspace you can enable them unter PROPERTIES → MOREUNIT → MOREUNIT_DETAILS.
Step 4: Scan for marker
To see markers for your tested classes within the editors you have to scan only once. Choose a java project and select "Add marker for tested methods". After starting all projects are scanned.