Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add unit test code coverage tool #519

Open
NorwegianKiwi opened this issue Jul 16, 2018 · 0 comments
Open

Add unit test code coverage tool #519

NorwegianKiwi opened this issue Jul 16, 2018 · 0 comments
Milestone

Comments

@NorwegianKiwi
Copy link
Collaborator

Add https://github.com/istanbuljs/nyc as a tool to see how much of the code is covered by unit tests.

Note that it is NOT a goal to get 100% code coverage. Trivial functions, helper functions and functions that basically just use another function without adding any logic, are not necessary to write unit tests for. Therefore it is better to configure nyc so that it doesn't complain about functions we don't want to test.

@NorwegianKiwi NorwegianKiwi added this to the Version 3 milestone Jul 16, 2018
@NorwegianKiwi NorwegianKiwi modified the milestones: TODO, BACKLOG Aug 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant