Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-11725

Add coverage testing of unittest

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: sconsUtils
    • Labels:
      None
    • Templates:
    • Story Points:
      3
    • Team:
      Architecture

      Description

      The pytest-cov plugin should be enabled to write coverage reports from unit testing. This ticket covers the work to enable per-product coverage testing solely from the unittests associated with that product. This can be enabled as part of normal test execution. It is possible to write coverage results to html, the terminal and XML. XML is needed for Jenkins support – it may be desirable to default to HTML and terminal reporting but allow Jenkins to enable XML output via an environment variable.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  tjenness Tim Jenness
                  Reporter:
                  tjenness Tim Jenness
                  Reviewers:
                  John Parejko
                  Watchers:
                  Gabriele Comoretto, John Parejko, Joshua Hoblitt, Kian-Tat Lim, Russell Owen, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel