MXUnit test outline extension
Project Home • Known Issues • Screenshots • Contact Project
This project will generate your MXUnit test cases.
The extension now includes 10 features:
1) Retain memory of last directory you saved tests to
2) Allow you to choose which cfc to extend and retain it (i.e. mxunit.framework.TestCase )
3) Decide between tags and cfscript based unit test
4) Have stubs commented out or not
5) Includes required arguments
6) Optional to include all arguments
7) Make base assertions based off of return type
8) Make private methods public
9) Choose between 'new' or 'createObject' for instantiation
10) Retains all your preferences
EDIT: There was a minor issue with error handling. Errors were not displaying. Fixed now.
Please leave feedback about issues etc. and I will try to fix them relatively quickly.
To use: right click on the CFC in your project view and select 'Generate MXUnit Tests'
This can be installed multiple times for multiple servers. Just be sure to choose the appropriate server when running the extension.
For basic install instructions: http://adobe.ly/lBtdpD
Big update! Added a slew of new features!
var scoped the method calls
Fixed an additional issue with cfc instantiation. This will now open the unit test file and refresh the parent folder.
I fixed some issues with cfc instantiation with the help of Steve Erat (http://www.talkingtree.com/blog/).
I also commented out the refresh project command (createTests.cfm) as with larger projects it adds a lot of overhead.
CFBuilder, MXUnit, and Coldfusion 9
To enter issues for this (or any other) project, you must be logged in.
You may access this project's Subversion repository with your client here: http://svn.riaforge.org/mxunitboilerplate.
To view files and changelists associated with this repository, go here: http://mxunitboilerplate.riaforge.org/index.cfm?event=page.svnbrowse.
You may download the latest set of files from Subversion as a zip file.
Anonymous users have read access to the repository while the administrator has write access.
This project is sharing its code via Subversion. Subversion is an open source source control method. You may find more information about Subversion here: http://subversion.tigris.org/
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.