Skipping Tests with <skip>

Sometimes you may want to skip deliberately some test (regardless whether they match some criteria like the ones above or not). SQLUnit provides skip tag which is used in this way:

  <test name="Testing with skip=true and reason">
    <skip value="true">Reason for skipping</skip>
      <resultset id="1">
        <row id="1">
          <col id="1" name="col1" type="INTEGER">1</col>

The content of skip tag value attribute specifies whether the test will be skipped or not. If it is true the test is skipped and the reason for its skipping is given in the body of <skip> tag.