Unit-Testing is a often used wording in the current fields of coding. Many people hesitate to use the given tools. I also didn’t use it very often.
Here a simple “getting into” for mx unit
- go to http://mxunit.org and get the latest project zip
- extract the mxunit zip into your project /yourproject/mxunit
- setup done
Now let’s create a simple test as warm-up.
Somewhere within your project one creates a single [name]Test.cfm with this default content.
When you have done everything right it should look like this:
That’s all. We’re done.
Have fun playing around more.