You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by Apache Wiki <wi...@apache.org> on 2007/03/01 01:21:51 UTC

[Db-derby Wiki] Update of "ConvertOldTestToJunitTips" by jeanTanderson

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification.

The following page has been changed by jeanTanderson:
http://wiki.apache.org/db-derby/ConvertOldTestToJunitTips

The comment on the change is:
added an initial faq

New page:
The page assembles tips on converting old tests to JUnit.

'''My new junit test compiles just fine -- why doesn't it execute?'''

Many of the old tests take a connection argument, such as:

{{{static void testLongBinary(Connection conn)}}}

When you convert it to a JUnit test, remember to remove the connection argument:

{{{static void testLongBinary ()}}}