Uploaded image for project: 'Network Observability'
  1. Network Observability
  2. NETOBSERV-92

NOO: fix code coverage reporting

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • 1
    • False
    • False
    • NetObserv - Sprint 214

      When you run the tests from the command-line, the coverage of some files remain very low e.g. the GoflowKube reconciler below:

      The cause is that the code coverage reports are ignoring the Ginkgo or TestEnv tests (e.g. the flowcollector_controler_test.go).

      If you run the flowcollector_controler_test from an IDE e.g. Goland or IntelliJ IDEA, the reported coverage is accurate:

       

              ocazade@redhat.com Olivier Cazade
              mmaciasl@redhat.com Mario Macias (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: