wiki:RocketUnit

RocketUnit

A Minimalist Unit Testing Framework

RocketUnit is a unit testing framework for ColdFusion. What? I hear you say, Not another one! Well yes, but this one is a bit different:

  • It is small - a single CFC.
  • It has one assert() function, not tens, but still gives detailed, meaningful messages when assertions fail.

Together, the above features make RocketUnit pretty approachable and easy to use. Our clients have been successfully using RocketUnit to test anything from a single custom tag up to a complex payment gateway. But don't take our word for it, here's some...

Rather Pleased Users

Tony Petruzzi

RocketUnit kicks ass

Just wanted to drop you guys a line and say "Thank You!!!" for creating RocketUnit. I'm using it as the testing framework for CFWheels and I have to say that it's the easiest testing framework I've ever used. Excellent work!

Kai Koenig

RocketUnit is absolutely sweet; thx for publishing it, Robin. Compared with both CFUnit and CFCUnit it's a no brainer to setup, it's much simpler to use and still delivers the same (over even better) information. Even people who never have worked with unit testing before can actually get it pretty much straight away.

Phil Haeusler

I'd just like to publicly thank RocketUnit for finding this for me the moment we upgraded our dev server here. I encourage everyone who isn't actively unit testing to have a look at RocketUnit or any other unit testing framework as they will save you a lot of heartache. It takes about 5 minutes to get your first test running, and after that you'll be streets ahead.

Lucas Sherwood

I have to confess, I have been using RocketUnit for a while now and it is just perfect! So nice and simple and easy to use, we even have developers using it for unit testing some of our C# webservices!! (ok ok, maybe that is just me)

Topics

Get started now, read our one page head first guide to unit testing with RocketUnit.

We know some people are already working on useful extensions? to RocketUnit for testing particular types of code.

Check out some real test cases written using RocketUnit.