Patch for cookbook

Nir Soffer <[email protected]> Mon, 9 Jun 2008 16:29:12 +0300
Newsgroups gmane.comp.java.junit.devel
Message-ID <[email protected]>
This patch correct the example of how to run junit from the console.

Index: doc/cookbook/cookbook.htm
===================================================================
RCS file: /cvsroot/junit/junit/doc/cookbook/cookbook.htm,v
retrieving revision 1.10
diff -u -r1.10 cookbook.htm
--- doc/cookbook/cookbook.htm	31 May 2007 14:49:09 -0000	1.10
+++ doc/cookbook/cookbook.htm	9 Jun 2008 13:28:01 -0000
@@ -102,7 +102,7 @@
  to define the suite to be run and to display its results. To run  
tests and see the
  results on the console, run:
  <blockquote>
- 
< 
pre 
 > 
<tt>org.junit.runner.JUnitCore.runClasses(TestClass1.class, ...);&nbsp;
+<pre><tt>java org.junit.runner.JUnitCore TestClass1  
TestClass2 ...&nbsp;
  </tt></pre>
  </blockquote>
  You make your JUnit 4 test classes accessible to a TestRunner  
designed to work with earlier versions of JUnit,


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php