Expected/Actual values in test runner
Hey,
I've added public test functions to my classes like:
[Test]
public function basicTest():void
{
Assert.assertEquals("Test is 5 == 5", 5, 5);
}
and a test suite takes this class as a variable.
[Suite]
[RunWith("org.flexunit.runners.Suite")]
public class ModulesTestSuite {
public var t1:MyClass;
}
I use this mxml to run the tests:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
creationComplete="runMe()" xmlns:flexUnitUIRunner="http://www.adobe.com/2009/flexUnitUIRunner"
styleName="flexUnitApplication" >
<mx:Script>
<