- No duplicate entries. "com.my.SomeTest" will only ever appear once in the list, and will only reflect the last run. If you run that test 20 times, you won't get 20 entries in the list
- When running a directory of tests, you see the full path to the directory in the list
- It's easy to distinguish between single TestCase runs and Directory runs. Simply, directory runs start with a slash.
- A more reasonable start value for remembered test runs. JUnit defaults to 10 items in the history. Dunno why. MXUnit defaults to 30. Considering that duplicates never appear, this seems like a reasonable default. In addition, changing the default is simple and obvious.
MXUnit Eclipse Plugin Test History Feature
Thursday, September 4, 2008 Posted by Marc Esher at 7:07 AM
I'm happy to announce the latest feature to the MXUnit Eclipse plugin: Test History. Every time you run a test (or directory of tests), it adds that test to your history. When you want to revisit a test, you can open up the history menu, find your test, and reload it. Here's a screen shot to demonstrate: There are a few differences between the JUnit and MXUnit implementations of this functionality, born out of my own frustration with the JUnit plugin. I decided that if I were going to add test history, then I was going to make it work how I always wished the JUnit plugin would behave.
Subscribe to: Post Comments (Atom)
I really like this new feature, and didn't notice the weirdness with the sequence of tests. I actually updated the plugin via the update site a few days ago, noticed the history option, and started using it immediately.
Thanks again for a most excellent plugin!
Bob, cool, glad it's working for you! One thing: the version from the update site a few days ago does not have the functionality for changing the preference for max history entries. To get that, you'll need to update, Everything else is the same though.
Very slick! We are slowly getting into MXUnit here so hopefully I'll get to tinker with this soon!
Post a Comment