mxunit/mxunit — pull request #15 by bittersweetryan (2012-01-14 15:43:29+00:00)
Title: added orderd test decorator

I added the ability to order tests by a numeric value like so:

## in cfscript

/**
* @mxunit:decorators mxunit.framework.decorators.OrderedTestDecorator
*/
component extends="mxunit.framework.TestCase"{

/**
*@order 1
*/
public void function testTrueShouldBeTrue(){
//try replacing false with true
assertTrue(false);
}

/**
*@order 2
*/
public void function testStringsShouldBeEqual(){
var result = "Foo";

/*in the koans __ represents a value that you need to
fill in to make the test return true in */
assertEquals(result,"__");
}

}

## in tags