Testing a Breeze.sharp application

One of the best ways to learn Breeze is through the automated DocCode code sample. You can be sure that the examples we show in print actually work. You can clone the tests and tweak them to explore options and edge cases we didn’t cover. And if you discover a bug, a variation on one of our tests is a great way to report it.

The test suite is also a useful model for testing your own application code. We’ve tackled many of the challenges you’ll face in testing your own code such as setting up a test suite, modularizing the tests, isolating tests with clean EntityManagers, testing asynchronous code.

This page will introduce you inner workings of the sample code “teaching tests” which demonstrate the same structure and techniques we use to develop Breeze itself.

[ In Progress - below this point ]