Introduction to the Eclipse Feature
This document assumes that you have the DevCreek client installed and communicating successfully with the server, if not, please refer to Installing the Eclipse Feature.The DevCreek client aims to help the developer by:
- Providing prompt feedback on recent testing behaviour
- Including the developer in a broader testing community
- Making testing visible across the entire team
- Charting testing behaviour over longer periods of time
- Offering guidance on improving testing
DevCreek status toolbar
DevCreek adds three status icons to the shared Eclipse toolbar. These give a brief indication of your own recent testing activity, that of the entire team, and a comparison between your team and the rest of the world:
From the icons above, the current principal has run 5 tests associated with the current DevCreek project in the last 24 hours. The team as a whole has run 6 tests in the same period, and has the 1st rank in the comparison between teams.
If there are configuration problems, or the DevCreek server can not be reached, the first status icon will show an error icon instead. Clicking it will start a simple diagnostics wizard to step through potential issues.
DevCreek View
Click any of the DevCreek status toolbar icons to open the DevCreek View:
The view is composed from a number of panels:
- The top panel shows your current DevCreek identity, in this case we are a member of the Example DevCreek project, using the DGJ principal.
- The Personal, Team and Project Metrics each provide feedback on recent testing during the last 24 hours.
- The personal pane shows four different measures for the current principal, aggregated for all team members, the highest ranked project, and aggregated across all projects registered with the DevCreek System.
Running Tests
DevCreek is aware of the developers testing activity through the execution of test suites and methods. The results from the Java test runner, triggered from the Run As... -> JUnit menu item, will be included automatically. There is also an optional feature for support the Test::Unit framework supplied with RDT.
Choose a simple JUnit test class:
Choose the Run As... -> JUnit Test menu item:
Once the test run has completed, the toolbar status icons will update to reflect the new test run, and a temporary marker tick will be displayed showing that an indicator has improved. The marker will also be triggered by other team members:
The DevCreek view will also have been updated, for example the updated Personal Metrics panel content. The test runs has incremented by 1, and the tests run by the 3 test methods:
