Login

    Register

Managed Hosting

PROJECT CATEGORIES

 

MXUnit test outline extension
Project Home Known Issues Screenshots Contact Project

Author: Joshua Caito (All RIAForge projects by this author)
Last Updated: May 31, 2012 1:39 PM
Version: 2.0
Views: 25,698
Downloads: 809
License: GPL (GNU General Public License), Version 3

Description:

This project will generate your MXUnit test cases.

BIG UPDATE!

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

Last Update:

[2.0]
Big update! Added a slew of new features!

[1.3]
var scoped the method calls

[1.2]
Fixed an additional issue with cfc instantiation. This will now open the unit test file and refresh the parent folder.

[1.1]
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.

Requirements:

CFBuilder, MXUnit, and Coldfusion 9

Issue Tracker:

ID ISSUE STATUS UPDATED
1 Add option to toggle on/off test generation for implicit getters/setters Open 07/05/12 10:00 AM

View All Issues

To enter issues for this (or any other) project, you must be logged in.

Subversion Access:

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.

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/