Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: converted to 1.6 markup

Wiki Markup*Navigation trail:* \["JMeterProjectPages"\] - \["JMeterDevelopment"\]unmigrated-wiki-markup

...

JMeter uses \[http://www.junit.org/ JUnit\] for testing of its code. The JUnit tests can be run from the command line, or using an IDE such as Eclipse.

This page has some details on how to use these test methods.

...

Some tests will fail if this common setup has not been performed, so a change was made to org.apache.jmeter.junit.JMeterTestCase to do some basic setup, if it has not been done already.unmigrated-wiki-markup

Only a few of the JMeter test classes use \["JMeterTestCase"\] at present; there are likely to be some that will fail if they are run outside of the [AllTests] class.

There may be other items that need to be set up to allow every class to be tested in isolation.