Uploaded image for project: 'OCMUI - OpenShift Cluster Manager UI'
  1. OCMUI - OpenShift Cluster Manager UI
  2. OCMUI-1340

Report unit test coverage after all Jest runs

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • 2
    • False
    • Hide

      None

      Show
      None
    • False

      Once all the snapshot tests have been converted and Enzyme removed, the coverage report should be reported after every Jest run.

      When a user runs `yarn test` the coverage report should automatically be built and run. Ensure that coverage report files are not checked into git (aka add it to .gitignore if needed).

      Also, note that this should not interfere with or replace coverage reports built by Cypress.

      Lastly, the coverage reports do not indicate what was actually tested or the quality of the tests but only what line was called while running a test (including rendering a component for testing). If possible, a log should be placed in the console after the test has run indicating this.

      Should verify all types of files are being covered - js(x), ts(x)

            Unassigned Unassigned
            kdoberst Kim Doberstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: