Document new test spec elements

XMLWordPrintable

      The way tests are detected in Clover2 has been vastly extended.

      The <testsources/> fileset now supports the following nested elements to make test case detection more finer grained.
      <testclass name="regex" super="regex" annotation="regex">

      And testclass has a testmethod element:
      <testmethod name="regex" annotation="regex"/>

      Here is a contrived example with every attributed and nested element set.

      <testSources dir="src">
                      <include name="**/*Test.java"/>
                      <testclass name=".*Test" super="TestCase" annotation="Test">
                          <testmethod name=".*Bag.*" annotation="Test"/>
                      </testclass>
      </testSources>
      

            Assignee:
            Unassigned
            Reporter:
            Nick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: