Download to get rid of those pesky bugs.             MXUnit Unit Testing framework for ColdFusion developers                               Download       Details       Home       Support       Blog

MXUnit is divided into 2 major parts - The MXUnit Test Framework and the Eclipse Plugin. Once you get your feet wet with the framework and the basics of testing, you will want to make it more convenient by using the plugin. The plugin allows your development to be very cohesive with testing. If you are familiar with Eclipse already, you can easily start there, too.

Justification

  • Why MXUnit?

  • Installation

  • MXUnit Framework Installation (Download, Unzip, & Test the install)  
  • Video: Low-quality High-value Framework Installation (3 min)
  • Installing the MXUnit Eclipse Plugin  
  • Configuring and Testing the MXUnit Eclipse Plugin  

  • Base Tutorials

  • Getting Started - First TestCase
  • Getting Started - More TestCases
  • Getting Started - TestSuites
  • Getting Started - Setting up your test directory
  • MXUnit TestResult output formats
  • Running entire directories of Tests with one line of code

  • Writing Tests

  • Built-In Assertions -- Shows the assertions that come with MXUnit New!
  • What to put in my tests - Shows typical assertion patterns you use in your tests New!
  • DAO Test Adapter PatternNew!

  • Using the MXUnit Eclipse Plugin

  • Installing the MXUnit Eclipse Plugin  
  • Configuring and Testing the MXUnit Eclipse Plugin  
  • Keyboard Shortcuts
  • Running tests (single and entire directories) and viewing results: Open the MXUnit View in Eclipse and Click the icon!

  • Test Automation

  • Simple Test Scheduling
  • Ant Task Doc
  • Using the MXUnit Ant Task to generate JUnit Reports
  • Video: Using MXUnit and Ant for Build,Test, and Integration Automation (8 min)
  • Advanced Test Scheduling and automated build/deploy with ANT and MXUnit

  • TDD Case Studies

  • TDD Example: fixing a bug in the plugin
  • TDD Example: implementing new functionality: a case study in pictures documenting every step of the process

  • Complete Example - Web Registration

  • Requirements
  • How you used to do it ...
  • Lists of tests - covers all requirements

  • Extending MXUnit

  • Adding your own custom assertions without changing MXUnit Code(Easier than you think!) New!
  • Creating your own TestResult
  • Creating a custom Runner

  • Tips & Tricks

  • Viewing output in your tests (cfoutput, cfdump, cfcatch, etc)
  • Testing private methods
  • Running a single method in a test
  • Using CFUnit-style "message-first" assertions
  • Eclipse Snippets
  • Using the MXUnit Test Generator
  • Structuring your tests
  • When To Start Writing Tests
  • The Rhythm Method; red-refactor-green

  • Support

  • Support Group
  • File bug report
  • Release Notes

  • Detailed Documentation

  • API (View http://localhost:8500/mxunit/doc/api/ or wherever MXUnit was installed)
  • MXUnit UML Model (In need of an update as of 12-27-07)

  • Presentations

  • Unit Testing w/MXUnit (Part-2) : In the weeds -- April 10, 2008 -- Writing tests principals, design for testability, and test automation
  • Ant on the wire -- February 28, 2008 -- This is a how-to session on using FTP, Email, Subversion, and VSS access in your ANT build files.
  • Unit Testing w/MXUnit (Part-1) - Jump Start -- March 06, 2008 -- Getting started with unit testing, MXUnit, and Test Driven Development.
  • Better living through Testing (Boston CFUG) -- April 15, 2008 -- Intro to Unit Testing and MXUnit. The UnitTestingIntro--Light.ppt is the version of the presentation I actually gave. The UnitTestingIntro.ppt has all the gaps filled in that we talked about. It essentially takes the "Meat and Taters" slide and expands each point into its own slide.
  • Better living through Testing (Baltimore AUG) -- April 23, 2008 -- Intro to Unit Testing and MXUnit.

  • 2008 MXUnit.org