MXUnit treats all files named "Test*.cfc" or "*Test.cfc" as a test case. If you have a project with 1000 files in it, and you right click on the project and select "Run MXUnit Tests", it'll cherrypick just the Test components and run those tests. MXUnit does not expect or enforce any directory conventions.
This means you can store your tests in separate directories, or you can store your tests along-side the components under test. The plugin will find just the tests and igore the rest.
A TestCase | Not a TestCase |
---|---|
SomeTest.cfc | SomeTest.cfm |
SomeTest.cfc | SomeTests.cfc |
TestThisThing.cfc | ThisThing.cfc |
sometest.cfc | TestYouGetThePicture.html |
The plugin does not support Test Suites.