Model Testing Patterns
You have developed a model using TDD!
- The model layer represents entities and interactions in a web app’s problem domain.
- Model paths can be test-driven using validators. Call
validateSyncand make assertions on the properties of
- The storage of data can be tested with construction and updating methods like
update. Retrieval can be tested with query methods like
- Static methods are stored in
[schema].staticsand instance methods are stored in