Multiple testsources in clover-setup are ignored

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • 2.0.3
    • Affects Version/s: 2.0.2
    • Component/s: Ant Tasks
    • None

      It appears there is a bug which causes only the first testsources element in clover-setup to be respected.

      e.g. the following will only recognise classes ending in TC as tests.

          <clover-setup initString="${clover.dir}/db/clover_coverage.db" preserve="false">
            <testsources dir="${test.home}">
      		<testclass name=".*TC">
      			<testmethod name="test.*"/>
      		</testclass>
            </testsources>
            <testsources dir="${test.home}">
      		<testclass name=".*Test"/>
      	  </testsources>
          </clover-setup>
      

      see also: http://www.cenqua.com/forums/thread.jspa?messageID=17534#17534

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

              Created:
              Updated:
              Resolved: