Versions Compared

Key

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

...

  • Integrate with a Continuous Integration server
  • (Optional but recommended) Integrate with a code quality management tool
    • I will integrate Cobertura to create reports on the testing coverage

The proposed scope of the project was to apply the tests to the API core. Once done, work would be extended in the remaining time to Manakin and then other subprojects (Sword, LNI, OIA). JSPUI will be left for last, as is an interface that will disappear in the future.

Project Plan

A work plan has been decided in an IRC meeting on May 26th, 2010 (log: [http://duraspace.org/irclogs/index.php?date=2010-05-26Image Added|http://duraspace.org/irclogs/index.php?date=2010-05-26]). The work has been divided in 3 parts:

...

The Unit Tests created (due to complications during development) have been restricted to those in package org.dspace.content.

Technical description

A tecnical description of the tools used and steps followed is available at GSOC 2010 Unit Tests - Technical documentation

Considerations

DSpace code suffers from testability issues. In the long term it might be advisable to refactor it. Refactoring is dangerous right now as we don't have any test and we risk introducing new bugs to the code base, so it should be avoided until we have enough tests working that makes us confidant we can take that road.

...