General business logic: more elaborate business logic

From OpenPetra Wiki
Jump to navigation Jump to search

Objective / Overview

Program more elaborate business logic methods which access the DB, are self-contained and are easily testable with automated tests.


Desired Outcome

  • Faithfully reproduce the functionality of current Petra 2.x business logic methods.
  • Creation of test cases that cover all the functionality of each business logic method.
    • Test cases need to set up data in the database beforehand and test the changed data afterwards
    • Logging of test case results


Scope

Some of the 'more elaborate' business logic methods that are needed for openPETRA are part of this project. There is another project which contains simpler business logic methods.

  • TODO
  • TODO
  • TODO