Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version DEV

...

By default, Data Collector does not process coverage data for the Change Based Testing (CBT) or Risky Code Changes (RCC) DTP Enterprise Pack artifact. This is to reduce the potential performance impact associated with the running the artifacts. If you want to use these artifacts, you must enable coverage data processing in the ReducedCoverageConfig.xml configuration file located in the DTP_HOME/conf/ directory. This file enables you to specify the coverage data a list of coverage images that you want Data Collector to process. 

...

  1. Open the file and set the value of the type parameter in the <images> element to either accept or reject:

    <images type="accept">
     

    Setting the parameter to accept means that Data Collector will only only accept coverage data for the coverage images in the list. Setting the parameter to reject means Data Collector will reject accept coverage data for all coverage images except for those in the list. 
  2. Specify the coverage images to accept or reject by adding them in <image> elements within the <images> element:

    Code Block
    <images type="accept">
       <image>Example Coverage</image>
       <image>Test Coverage</image>
    </images>
     
  3. Save the file.

See the XML file for more examples of accept or reject settings.