XML Test Data

In order to separate your test data from the test code with JTestCase you need to create a XML file with your test data. In the following sections we want to describe the structure of this XML. This will be done in the following steps:

  • Classes and Methods

    The structure reflects the structure of JUnit tests that are created in different test classes and methods therein.
  • Parameters

    The probably most import section. Describes how to define the input data for your test cases.
  • Assertions

    Describes how to define expected results and to specify assertion action on them.
  • Assert Actions

    Describes which Assert Actions can be used in JTestCase and how to define them.