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 2010/12/02 21:04:42 UTC

[Db-derby Wiki] Update of "DerbyJUnitTesting" by KatheyMarsden

Dear Wiki user,

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

The "DerbyJUnitTesting" page has been changed by KatheyMarsden.
http://wiki.apache.org/db-derby/DerbyJUnitTesting?action=diff&rev1=55&rev2=56

--------------------------------------------------

  Eclipse is a good tool to run the junit tests. Once you have your code and the related jar files in eclipse env then using the java perspective in the package explorer right click on the classname of the test and select the "Run As" option. It will have Junit Test as one option. Click that and then you can view how the test progress in the junit tab. If a test fails you can click on the lines in the displayed stack trace and Eclipse will open up that java file  in the editor at the correct line.
  Here is the screen shots for a [[attachment:passed.jpg|passing test]] and a [[attachment:failed.jpg|failing test]].
  
+ === Platform and JVM Specific Issues Running JUnit Tests ===
+ Various platform specific jvm issues and configuration requirements are tracked on the JunitVmIssues page.  Please consult this page for information if you have trouble and update this page with new information as you discover it.
  
  
  === Running tests using the old Derby harness ===