Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The main difference between these and the unit tests is in the test implemented, not in the infrastructure required, as these tests will use several classes at once to emulate a user action.

Static Analysis

Due to comments in the GSoC meetings, some static analysis tools have been added to the project. The tools are just a complement, a platform like Sonar should be used as it integrates better with the structure of DSpace and we could have the reports linked to Jira.

We have added the following reports:

  • FindBugs : static code bug analyser
  • PMD and CPD: static analyser and "copy-and-paste" detector
  • TagList: finds comments with a certain annotation (like XXX or TODO)
  • Testability Explorer: detects issues in classes that difficult the creation of unit tests

They can be generated by launching:

Code Block

mvn site

from the main folder

Functional Tests

These are tests which come from user-based use cases. Such as a user wants to search DSpace to find material and download a pdf. Or something more complex like a user wants to submit their thesis to DSpace and follow it through the approval process. These are stories about how users would preform tasks and cover a wide array of components within Dspace.

...