General business logic: self-contained and easily testable business logic: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
(Created page with '==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=…')
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
==Objective / Overview==
==Objective / Overview==
Program business logic methods which don’t need to access the DB, are self-contained and are easily testable with automated tests.
'''Program business logic methods which don’t need to access the DB, are self-contained and are easily testable with automated tests.'''




Line 15: Line 15:
* TODO
* 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)

Latest revision as of 11:59, 15 December 2010

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)