Skip to content

Add code coverage reporting and README.md badge #3

@tomastrajan

Description

@tomastrajan

It would be great if we could provide code coverage info as a part of standard CI build (on Travis CI)...

The setup of CODECOV_TOKEN of the Travis CI build is already done, what is left to do is to adjust .travis.yml build so that it runs tests with coverage and use html and json reporters

Example codecov repo can provide more guidance.

We can introduce new coverage npm script which will run all tests together (both model and schematics, using appropriate glob pattern) and this script should run on the CI build ( .travis.yml )

We're aiming on combined coverage of both model and schematics, It can be tested locally by using html reporter and opening generated coverage/index.html.

If you are willing to submit a PR but are a bit unsure, feel free to check out the Contributors Guide for useful tips and hints that help you get started.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions