Unit Testing Roadmap

Unit Testing Roadmap

Immediate Term Goals

  • Add at least one unit test for each Pojo object

    • Some classes that don't have any tests:

      • PersonAttribute has many non-trivial non-getter/setter methods but only one unit method in PersonAttributeTest

      • ConceptWord only has a few test methods on it ConceptWordTest

      • Most util classes in the util folder don't have unit tests on them

  • Add unit tests to each service class method

Medium Term Goals

  • Convert web controller classes to annotation based classes and then create tests for the web layer testing framework

Long Term Goals

  • Choose a web layer testing framework

Resources

Current Status

In the absence of a coverage tool output on the web, the output here is from Eclemma:

Right click on /test/api --> Coverage As --> JUnit Test: