You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2010/03/08 03:38:44 UTC

svn commit: r920175 - /jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

Author: sebb
Date: Mon Mar  8 02:38:43 2010
New Revision: 920175

URL: http://svn.apache.org/viewvc?rev=920175&view=rev
Log:
Bit more info on JUnit4

Modified:
    jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml

Modified: jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml
URL: http://svn.apache.org/viewvc/jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=920175&r1=920174&r2=920175&view=diff
==============================================================================
--- jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
+++ jakarta/jmeter/trunk/xdocs/usermanual/component_reference.xml Mon Mar  8 02:38:43 2010
@@ -1319,8 +1319,13 @@
 <li>@Test - used to find test methods and classes. The "expected" and "timeout" attributes are supported.</li>
 <li>@Before - treated the same as setUp() in JUnit3</li>
 <li>@After - treated the same as tearDown() in JUnit3</li>
+<li>@BeforeClass, @AfterClass - treated as test methods so they can be run independently as required</li>
 </ul>
 </p>
+<p>
+Note that JMeter currently runs the test methods directly, rather than leaving it to JUnit.
+This is to allow the setUp/tearDown methods to be excluded from the sample time. 
+</p>
 </component>
 
 <component name="Mail Reader Sampler"  index="&sect-num;.1.17"  width="399" height="306" screenshot="mailreader_sampler.png">



---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org