lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Update of "RunningTests" by Shai Erera
Date Wed, 30 Mar 2011 18:53:37 GMT
Dear Wiki user,

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

The "RunningTests" page has been changed by Shai Erera.
http://wiki.apache.org/lucene-java/RunningTests?action=diff&rev1=3&rev2=4

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

  For example: 'ant test -Dtestpackage=search'
  
  === Running only a specific test class ===
- To run a specific test class, use -Dtestcase 
+ To run a specific test class, use -Dtestcase
  
  For example: 'ant test -Dtestcase=TestIndexWriter'
  
@@ -33, +33 @@

  From ant, you can set these on the command line by using -D.
  
  From your IDE, you can set these by adding jvm arguments with -D.
+ ||variable ||description ||default value ||example ||
+ ||tests.verbose ||increases verbosity of tests. Use this to get (potentially very loud)
test output ||false ||-Dtests.verbose=true ||
+ ||tests.codec ||sets the FlexibleIndexing codec for the test to use ||random ||-Dtests.codec=Pulsing
||
+ ||tests.locale ||sets the JVM default locale for a test to run under ||random ||-Dtests.locale=ru_RU
||
+ ||tests.timezone ||sets the JVM default timezone for a test to run under ||random ||-Dtests.timezone=Australia/Lindeman
||
+ ||tests.directory ||sets the lucene directory impl for a test to use ||random ||-Dtests.directory=FSDirectory
||
+ ||tests.multiplier ||multiplier to increase the work done by random tests ||1 ||-Dtests.multiplier=3
||
+ ||tests.threadspercpu ||determines how many tests per cpu should run in parallel. 0 disables
parallel tests ||1 for Lucene, 2 for Solr ||-Dtests.threadspercpu=4 ||
+ ||tests.iter ||runs a test with multiple iterations ||1 ||-Dtests.iter=1000 ||
+ ||tests.iter.min||together with 'tests.iter', runs a test at least N iterations and stops
if the test fails||1||-Dtests.iter.min=10||
  
- ||variable||description||default value||example||
- ||tests.verbose||increases verbosity of tests. Use this to get (potentially very loud) test
output||false||-Dtests.verbose=true||
- ||tests.codec||sets the FlexibleIndexing codec for the test to use||random||-Dtests.codec=Pulsing||
- ||tests.locale||sets the JVM default locale for a test to run under||random||-Dtests.locale=ru_RU||
- ||tests.timezone||sets the JVM default timezone for a test to run under||random||-Dtests.timezone=Australia/Lindeman||
- ||tests.directory||sets the lucene directory impl for a test to use||random||-Dtests.directory=FSDirectory||
- ||tests.multiplier||multiplier to increase the work done by random tests||1||-Dtests.multiplier=3||
- ||tests.threadspercpu||determines how many tests per cpu should run in parallel. 0 disables
parallel tests||1 for Lucene, 2 for Solr||-Dtests.threadspercpu=4||
- ||tests.iter||runs a test with multiple iterations||1||-Dtests.iter=1000||
  
+ 

Mime
View raw message