# Overview

TestBox is a next generation testing framework for ColdFusion (CFML) 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, mocking/stubbing and expectations library. It also supports xUnit style of testing with MXUnit compatibilities.

{% hint style="danger" %}
**Important** TestBox is a standalone testing package and is meant to be used with any ColdFusion (CFML) application, framework or library. IT IS NOT ONLY FOR COLDBOX APPLICATIONS.
{% endhint %}

## Useful Resources

* [Approaches to Mocking](http://www.onjava.com/pub/a/onjava/2004/02/11/mocks.html)
* [Wikipedia Mock Objects](http://en.wikipedia.org/wiki/Mock_object)
* [Using mock objects for complex unit tests IBM developerWorks](http://www-128.ibm.com/developerworks/rational/library/oct06/pollice/index.html)
* [Unit testing with mock objects IBM developerWorks](http://www.ibm.com/developerworks/library/j-mocktest.html)
* [Emergent Design by Scott Bain](http://www.netobjectives.com/emergent-design-evolutionary-nature-professional-software-development)
* [Mocks Aren't Stubs by Martin Fowler](http://martinfowler.com/articles/mocksArentStubs.html)

## Ref Cards

Our RefCards will get you up and running in no time.

## BDD RefCard

[![TestBox BDD Refcard](https://3468028133-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LA-UVvpHGvcri7lG2ed%2F-LA-UeeLRqOWbuV1o1QC%2F-LA-UpLp5NAhUxWtDc_W%2Ftestbox-bdd-refcard-150.png?generation=1523647994957859\&alt=media)](https://github.com/ColdBox/cbox-refcards/raw/master/TestBox%20BDD%20Primer/TestBox-BDD-Refcard.pdf)

## xUnit RefCard

[![TestBox xUnit Refcard](https://3468028133-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LA-UVvpHGvcri7lG2ed%2F-LA-UeeLRqOWbuV1o1QC%2F-LA-UkYczNfarRZTQQON%2Ftestbox-xunit-refcard-150.png?generation=1523647978295311\&alt=media)](https://github.com/ColdBox/cbox-refcards/raw/master/TestBox%20xUnit%20Primer/TestBox-xUnit-Refcard.pdf)
