Coverage contexts broken in Clover 3

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 3.1.4
    • Affects Version/s: 3.0.2
    • Component/s: Database, Maven plugin
    • None

      The following configuration produces different results in Clover 3.0.2 compared with 2.6.3:

      <plugin>
      	<groupId>com.atlassian.maven.plugins</groupId>
      	<artifactId>maven-clover2-plugin</artifactId>
      	<version>3.0.2</version>
      	<configuration>
      		<statementContexts>
      			<log1>if.*\(isDebugEnabled.*</log1>
      			<log2>System.out.println\(.*\);</log2>
      		</statementContexts>
      		<contextFilters>log1,log2</contextFilters>
      	</configuration>
      </plugin>
      

      In Clover 3.0.2 the log1 context does not work:

        1. screenshot-1.jpg
          screenshot-1.jpg
          57 kB
        2. tutorial.tar.gz
          515 kB

              Assignee:
              BrendanA
              Reporter:
              Andrew Myers [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: