Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Navigation Map
testmxunit
testmxunit
titleWriting Tests

Installation

Get the code base

Farcry unit tests uses http://mxunit.org/ with a wrapper that adds in Farcry hooks and webskin compatibility.

...

No Format
https://farcry.jira.com/source/browse/TEST

Add a Virtual Directory (IIS) or Alias (Apache)

Once you have the code checked out into your plugins folder, you will need to add an Alias (in Apache) or a Virtual Directory in IIS. For example, the path should be similar to the following:

...

Note

Note the path goes in one level deeper than most Farcry alias'.

Register the plugin with your application

You will then need to add the plugin to your plugin list in your www/farcryConstructor.cfm file. For example:

No Format
<cfset THIS.plugins = "farcrypoll,farcryradiostar,farcrycms,farcryverity,testMXUnit" />

Deploy the mxTest content type

You will then need to deploy the mxTest ContentType. You can do this in the webtop in the Admin tab. Select Developer Utilities from the pull down, and then click on the Types link under the COAPI Tools heading. Scroll down until you see mxTest and click the deploy link.

...