Getting Startet with Coldfusion and mxUnit

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

  1. go to http://mxunit.org and get the latest project zip
  2. extract the mxunit zip into your project /yourproject/mxunit
  3. 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.
Snippet: https://gist.github.com/Macagare/1f51ce98ec65c74fd504

When you have done everything right it should look like this:

Screenshot 2014-05-23 09.47.33

That’s all. We’re done.

Have fun playing around more.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s