Showing posts with label test. Show all posts
Showing posts with label test. Show all posts

Wednesday, August 18, 2010

Run customized process to notify JUnit results

I made a plugin to run customized process to notify JUnit results. Before I introduced to notify JUnit results to Grows Eclipse Plugin beforeThen Ketan's comment, "+1 for a custom command line preference this would be useful to people on other operating system". I agreed with him.So I made a plugin.If you'd like to install the plugin, could you please download jar file and copy to your dropins folder in your Eclipse.Default setting is to run growlnotify.If you want to customize that process, please open preference page and choose "Java->JUnit->Process Notification" like below.

If I use this plugin on Ubuntu linux 10.4, this plugin integrated with NotifyOSD.
The process setting is like below.

/usr/bin/notify-send -i /home/kompiro/>eclipse/icon.xpm ${summary} ${detail}

If I use this plugin on Windows, this plugin integrated with Snarl and Snarl_CMD.
The process setting is like below.
C:\Snarl_CMD_1.0\Snarl_CMD.exe snShowMessage 2 "${summary}" "${detail}

I think this plugin is not only use for notification. If you'd like to store testing log, you can use shell, script, batch, and so on.
Enjoy your testing!

Sunday, July 18, 2010

WizardDialogTestRunner for SWTBot

I think SWTBot is a great framework for test on SWT Application like Eclipse.
So I always use this framework for my plugins development.
But there are no WizardDialog Helper class.
So I implemented it below.



And this is a sample code how to implemente bu using these class.

How do you think about it?

Thursday, May 27, 2010

Notify JUnit Results to Growl Eclipse Plugin

I made a Eclipse Plugin for long-period testing on Eclipse for Mac.


Yes!, This plugin notify the test result to Growl.This is simple, but effective to drive to develop your application!
This plugin uses native library. So there are some constraint to use it.
If you use Eclipse for cocoa 64 bit edition, you can't use this plugin because the native library can't load on your Eclipse Environment.

The plugin is published below.
http://kompiro.org/download/junit.extensions.eclipse.quick.mac.growl_0.1.0.201005252224.jar
If you interested in this plug-in, then download and put it dropins folder!