You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2010/12/21 18:18:31 UTC
[Solr Wiki] Update of "TestingSolr" by HossMan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "TestingSolr" page has been changed by HossMan.
The comment on this change is: testmethod.
http://wiki.apache.org/solr/TestingSolr?action=diff&rev1=3&rev2=4
--------------------------------------------------
Yes, it's that simple.
- = Running a single unit test =
+ = Running specific unit tests =
- Run a single test using:
+
+ Run a specific test method:
+
+ {{{
+ ant -Dtestmethod=testEqualsLOOKUP3 -Dtestcase=TestHash clean test
+ }}}
+
+ Run all test methods in a single test class using:
{{{
ant -Dtestcase=TestDistributedSearch clean test