Skip to content

Latest commit

 

History

History
10 lines (5 loc) · 1.02 KB

coldbox-testing-classes.md

File metadata and controls

10 lines (5 loc) · 1.02 KB

ColdBox Testing Classes

ColdBox Testing Classes

Before we begin our adventures in testing, let's review what classes ColdBox gives you for testing and where you can find them. From the diagram, you can see that our pivot class for testing is the TestBox BaseSpec class.

From that superclass, we have our own ColdBox BaseTestCase , our base class for any testing in ColdBox, and the class used for Integration Testing. We then spawn several child classes for targeted testing of different objects in your ColdBox applications:

Test ClassDescription
BaseTestCaseUsed for Integration Testing
BaseModelTestUsed for model object unit testing
BaseInterceptorTestUsed for interceptor unit testing
BaseHandlerTestUsed for isolated handler unit testing