-
Notifications
You must be signed in to change notification settings - Fork 56
Home
massiveinteractive edited this page Dec 22, 2010
·
33 revisions
Welcome to the MassiveUnit wiki!
munit uses haXe metadata to execute test cases at runtime. To create a new test case, simply create an empty class and use the following metadata syntax:
@Test
public function testExample():Void
{
Assert.isTrue(true);
}
For detailed information on TestCase metadata see Working with test classes
The munit build tool makes working with unit tests easier and quicker.
To check that the tool is installed
haxelib run munit
This should display summary help information for all the commands. We recommend using the inbuilt help for detailed usage and instructions
haxelib run munit help <command>
More information