
We are so pleased to bring you another addition to our Box collection of products: TestBox. TestBox is a next generation testing framework for ColdFusion that is based on BDD (Behavior Driven Development) for providing a clean obvious syntax for writing tests. It contains not only a testing framework, runner, assertions and expectations library but also integrates with MockBox for mocking and stubbing. It also supports xUnit style of testing and MXUnit compatibilities. At this point TestBox has been released as a 1.0.0 Alpha and can be downloaded from our main downloads page and it has been also integrated into our "development" branch for the ColdBox platform as well. As you will see, TestBox also leverages Closures extensively to provide nice clear syntaxes in your tests.
Features At A Glance
- Here are a simple listing of features TestBox brings to the table:
- BDD style testing
- xUnit style testing
- Testing life-cycle methods
- MockBox integration for mocking and stubbing
- Ability to extend and create custom test runners
- Ability to extend and create custom test reporters
- Extensible reporters, bundled with tons of them:
- JSON
- XML
- JUnit 4 XML
- Text (80's style)
- Console
- TAP (Test Anything Protocol)
- Simple HTML
- Min - Minimalistic Heaven
- Raw
- Asynchronous testing
- Multi-suite capabilities
- Test skipping
- Suite skipping
- Dynamic skipping support via runtime executions
- Test one or more suites exclusively
- Test one or more tests/specs exclusively
- Test labels and tagging
- Clickable suite titles to filter test execution
- Direct MXUnit replacement
- Much more!