db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Db-derby Wiki] Update of "DerbyJUnitTesting" by ManjulaKutty
Date Thu, 01 Feb 2007 20:48:36 GMT
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 ManjulaKutty:
http://wiki.apache.org/db-derby/DerbyJUnitTesting

------------------------------------------------------------------------------
  Then supply the complete name of the test class in the top window, e.g. `org.apache.derbyTesting.functionTests.tests.jdbcapi.ProcedureTest`.
  <!> The use of the `-noloading` flag is required, if you recompile Derby or the test
classes you must restart the graphical test runners.
  
- ==== Using Eclipse to run ====
- Eclipse is a good tool to run the junit tests. You have to 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. Here is the screen shots for
a [attachment:eclipse_passed_test Passing Test] and a [attachment:eclipse_failed_test Failing
Test].
- 
  === Running tests using ant in a code line ===
  The top-level build.xml file in the trunk codeline contains two targets for running JUnit
tests.
  
@@ -160, +157 @@

  
  The output folder is created in the current directory with the name `junitYYYYMMDD_hhss`,
e.g. `junit_20070112_0813`.
  When the report is generated it can viewed using the `index.html` file in the output folder.
+ 
+ ==== Running tests using Eclipse====
+ 
+ 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. Here is the screen
shots for a [attachment:eclipse_passed_test passing test] and a [attachment:eclipse_failed_test
failing test].
+ 
+ 
  
  === Running tests using the old Derby harness ===
  

Mime
View raw message