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


Used for Integration Testing


Used for model object unit testing


Used for interceptor unit testing


Used for isolated handler unit testing

Last updated