New Test Runner UI
By Erno Mononen on May 25, 2008
Lately I've been working on a new UI for displaying test results in the NetBeans Ruby IDE. This is now available in the latest daily builds, so please give it a try and let me know whatever issues you encounter. And of course, any ideas for improving it further are welcome too. I've already filed a couple issues myself that I haven't yet had time to address. Below are some screenshots, should look pretty familiar for those of who you have run JUnit tests in the IDE - the UI is pretty much the same with some Ruby specific modifications. Here's a screenshot of the new UI, Test::Unit test run: Another screenshot using a different layout. You're free to drag the results window anywhere in the IDE, the iconless button on the left side of the runner switches the layout from vertical to horizontal and vice versa (note that this will be done automatically once I get to fix this issue). And finally a screenshot of an RSpec test run: For those of you who are not familiar the JUnit results window, it might be worth noting a couple things. The results window can be found in Window -> Output -> Ruby Test Results. You can display only failures by using the filter button on the left side of the statistics panel. Double clicking the failed method nodes jump to the failure line in the test file, and you can of course double click the stack trace lines as well for the same effect. Currently the new UI is invoked only if you specifically select 'Test' or 'RSpec Test' from the project context menu or run a single test file, meaning that running the test or spec rake tasks using the Rake runner in the IDE don't display the results using this UI. This will change of course, just a matter of time - see the link to the issue list in the beginning of this entry. So, please go grab a fresh build and let me know whatever issues you encounter or how would you enhance it further!