RemoteFacade URL Basics
This plugin works by making soap (i.e. webservice) calls to a URL. By default, that URL is to a RemoteFacade.cfc that
comes bundled with the MXUnit framework. When you first installed the plugin, it made a reasonable attempt at
guessing the location of this Remote URL, but more than likely it guessed wrong... so you'll need to set it up correctly.
How
- Window -- Preferences -- MXUnit
- Check and correct the URL if necessary. For example, maybe it currently reads "http://localhost/mxunit/framework/RemoteFacade.cfc"
but your CF installation is at localhost:8501. Change the URL accordingly.
Overriding the URL for special cases
There are times when your project won't be able to point to the URL you have configured in the global preferences:
- You need custom remote functionality for the tests in a certain project. For example, you need the RemoteFacade.cfc to include a custom Application.cfm file for every test
- You're testing components that use ColdFusion's built-in Hibernate ORM. In those cases, the components will not work correctly if they aren't run under the context of their Application.cfc.
- You need some custom behavior to occur for each test case in a certain project
In these cases, you'll need to override the RemoteFacade URL at the project level.