Added by Eric GROISE, last edited by Eric GROISE on Oct 02, 2007  (view change)

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.

Core domain Pattern

The Core Domain pattern allows us to write business rules that we can easily test (NUnit & Fitnesse)
Here are the Key rules for writing source code in Core Domain:

  • The only allowed reference to a Octopus component is Octopus.Shared
  • No database access
  • No file system access
  • No error management
    Core Domain validity is ensured by Fitnesse functional tests that checks ALL BUSINESS RULES implemented in this layer.
    For example here is the Fitnesse test that checks that Octopus core domain can correctly repay a good loan: Fitnesse Wiki page