Skip to content

Conventions

dm03514 edited this page Nov 26, 2017 · 12 revisions

Transition Conditions

  • operate on a Valuesable

Assertions

  • do not mutate values
  • always operates on multiple values through .values()
  • raises ConditionNotMet on apply failure
  • always returns original values

Event Fulfillment

  • Must return either:
    • EventSuccessDecoratorResult
    • EventFailureResult

Unit Tests

  • Test for success case and assertion on type EventSuccessDecoratorResult

Initiators

  • Returns an object which implements Valuesable

Unit Tests

  • Test to assert on Valuesable return type

Logging - Component

There should be a uniformity across all protocols and conventions with what to expect on each logging level.

  • Debug

  • Info

  • Warning

  • Error

Clone this wiki locally