Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. [BeforeClass]
  2. [Before]
  3. [Test]
  4. [After]
  5. [Before]
  6. [Test]
  7. [After]
  8. [AfterClass]

Wiki Markup\*The [\[Before\]| FlexUnit Metadata#Before] method is run before every \[TestMethod\] and the [\[After\]| FlexUnit Metadata#After] method is run after every [TestMethod|FlexUnit TestMethod].

'''Note:''' In a TestCase tests may be executed in ANY order. If you would like to specify an order to the tests, you may do so, see order for instructions on how to do so.

...

Finally, a TestSuite is a collection of TestCases and possibly other TestSuite TestSuites. A test suite is a simple class marked with a [Suite], and [RunWith("org.flexunit.runners.Suite")] Metadata tags. The tests and other suites that you want to have run inside this suite must be declared as public (and only public) variables. For example:

...