Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1720

Allow users to specify excludes for report generation

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      If you are using Ant you can exclude classes from being included in the report as follows:

        <target name="clover.report" description="Generates a Clover report">
      		<clover-report>
      		  <current outfile="report-current" title="Coverage">
      			<fileset dir="src/main/java">
      			  <exclude name="**/*.java"/>
      			</fileset>
      			<format srclevel="true" type="html"/>
      		</current>
      		</clover-report>
           </target>
      

      However there does not appear to be any option within eclipse to do so.

      The workaround is to exclude the files from being instrumented (Project Properties - Source Files),

      Attachments

        Activity

          People

            Unassigned Unassigned
            pkamal Partha
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: