Sonntag, 30. November 2008

Started test refactoring

The actual tests of moreUnit contain some code smells. Tonight I started to refactor the tests.

Donnerstag, 27. November 2008

New feature finished

A basic version to support package rename refactorings has been implemented earlier this week. Tonight I enhanced the basic version with some security checks (no rename if a package within a testfolder gets renamed).

Montag, 24. November 2008

Package rename

Some weeks ago there was a bug report that a package rename doesn't cause moreUnit to rename corresponding test packages. Tonight I implemented a first version, which handles package rename. But there are still some enhancements neccessary: don't rename if refactoring is started in a test source folder...

Sonntag, 23. November 2008


Improved TestNG support seems to work now. In addition I fixed a bug which was reported from the SWTBot developer. At first I was not able reproduce the problem but as SWTBot is open source I did checkout the project and was able to see the buggy behaviour. Two bugfixes later switching seems to work again :-) Time to say goodnight.

Mittwoch, 19. November 2008

First tests

After the implementation I started to test the new wizard page but it seems to be a little buggy, the wizard doesn't recognize the test type selection. Some bug fixing is necessary.

Sonntag, 16. November 2008

NewTestCaseWizard with TestNG

The new testcase wizard page one supports class creation for TestNG now. Just implemented and not tested yet. I think it would be good to look for an opensource project which writes TestNG tests to take a look how TestNG is used in projects, because I do use JUnit only.

Dienstag, 4. November 2008

Weired exceptions

Tonight I wanted to work on the new wizard page for TestNG support.
After integrating a first version some weired errors occured:

04.11.08 20:25:57 [0x0-0x2a02a].org.eclipse.eclipse[216] java.lang.NoClassDefFoundError: ch/ethz/iks/slp/ServiceLocationEnumeration
04.11.08 20:25:57 [0x0-0x2a02a].org.eclipse.eclipse[216] at java.lang.Class.getDeclaredConstructors0(Native Method)
04.11.08 20:25:57 [0x0-0x2a02a].org.eclipse.eclipse[216] at java.lang.Class.privateGetDeclaredConstructors(
04.11.08 20:25:57 [0x0-0x2a02a].org.eclipse.eclipse[216] at java.lang.Class.getConstructor0(
04.11.08 20:25:57 [0x0-0x2a02a].org.eclipse.eclipse[216] at java.lang.Class.newInstance0(
04.11.08 20:25:57 [0x0-0x2a02a].org.eclipse.eclipse[216] at java.lang.Class.newInstance(
04.11.08 20:25:57 [0x0-0x2a02a].org.eclipse.eclipse[216] at org.eclipse.osgi.frame

Montag, 3. November 2008


A long time is gone since my last blog. There was a new release of MoreUnit (1.1.4).
After the release I had some weeks off for a vacation. Tonight I started to improve TestNG support. Therefore I have to extend the TestCaseCreationWizard of the JUnit eclipse plugin. As a consequence I have to use code from org.eclipse.jdt.internal.* :-(