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 KristianWaagan
Date Wed, 14 Jul 2010 18:16:32 GMT
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 KristianWaagan.
http://wiki.apache.org/db-derby/DerbyJUnitTesting?action=diff&rev1=53&rev2=54

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

  
  The class name of the test passed to the runners can be an individual test case or one one
of the Derby suites, see examples below.
  
- Note that by default, the tests will attempt to use the port 1527 as this is the default
port for Derby. Also, when running suites.All, a maximum of 10 ports will be used starting
on 1527. No other ports will be used other than 1527+10.
+ Note that by default, the tests will attempt to use the port 1527 as this is the default
port for Derby. Also, when running suites.All, a maximum of 20 ports will be used starting
on 1527. No other ports will be used other than 1527+20.
  
  To run the suites or individual tests with a different port, the derby.tests.basePort property
must be specified. In this case, the ten ports that suites.All requires to run will start
on basePort rather than on 1527.
  
@@ -222, +222 @@

  
  To do so, the property '''''derby.tests.basePort''''' must be specified upon the execution
of the test.
  
- It needs to be noted that the full range from the specified port through to ''basePort+10''
'''MUST''' be free. Therefore, when running several tests make sure that the range [basePort;basePort+10]
for all of the tests does not overlap.
+ It needs to be noted that the full range from the specified port through to ''basePort+20''
'''MUST''' be free. Therefore, when running several tests make sure that the range [basePort;basePort+20]
for all of the tests does not overlap.
  
  Examples:
  {{{

Mime
View raw message