MXUnit Eclipse Plugin Updated

Saturday, December 19, 2009

What's new?

  • The pesky “resource is null” problem that some users have experienced when using project-level CFC paths and remote URLs should finally be resolved
  • The “Tag Context” view now has two new menu options: “Copy Exception” and “Copy Tag Context”. This is handy when you need to copy the exception message or the entire tag context, as a string, into a bug report, email, etc.
  • Clicking on an item in the Tag Context view will now trigger the “Compare” Dialog button, if the assertion is comparable (i.e. when an assertEquals() fails). Previously, you needed to click on the failing test to enable the button. That lameness has been resolved.
  • I was watching Terry Ryan’s  video on using the Apptacular ColdFusion Builder Extension to generate MXUnit tests, and I noticed that his MXUnit view in Eclipse had a gigantic “Test History” button. Turns out, I created this as a 32x32 image; Eclipse on Windows resizes this automatically to 16x16, but apparently that’s not true on the Mac. I was aghast at this hideous image, and so now it’s 16x16.

Here are some screenshots of the new stuff in the Tag Context panel:

“Copy” options


“Compare” button enablement


By the way: by default, the text compare dialog shows differences in black/gray. You can change this – as I’ve changed it to a reddish background in this shot – by going to Window – Preferences – General – Appearance – Colors and Fonts – Text Compare – Outgoing change color. Click the “Edit” button, and pick your color.

How do I get the update?

If you already have the plugin installed, then go through the normal update process. On Eclipse 3.5, that’s Help – Install New Software – Work With: MXUnit OR use Help – Check for Updates

If you don’t have the plugin installed, then use Help – Install New Software – Add  and use as the URL



No comments: