General business logic: self-contained and easily testable business logic

From OpenPetra Wiki
Revision as of 11:59, 15 December 2010 by Christiankatict (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Objective / Overview

Program business logic methods which don’t need to 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.
    • Logging of test case results


Scope

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

  • TODO
  • TODO
  • TODO


Suggestions so far for the Partner Module:

  • Date checks
  • BIC verification (structural sanity check only, no online checking)
  • IBAN verification (structural sanity check only, no online checking)
  • Credit Card Number verification (structural sanity check only, no online checking)