Skip to content

Running a unit test with code coverage enabled does not generate data in coverage.csv #333

@roelrz

Description

@roelrz

The command line option -c or --coverage enables code coverage for a unit test.

However, no actually data is written to the coverage.csv file.

Files worth investigating:

  • lib/testrun.js [defineProperties()]
  • lib/executor.js [shutdown()]
  • lib/coverage.js [writeSummary()]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions