ProjectEvergreen / project-evergreen

Wiki and high level "feature" tracker for Project Evergreen
https://projectevergreen.github.io/
Apache License 2.0
11 stars 1 forks source link

As a developer I would like unit test + code coverage reporting #43

Closed thescientist13 closed 5 years ago

thescientist13 commented 6 years ago

Type of Change

Summary

Along with unit testing, getting test results and code coverage results can be an important part of ensuring good code quality and coverage, in particular with CI.

Once this is figured out, it can be added to the Unit Testing wiki as well as enforced Project Evergreen projects like the todo-app and component-simple-slider.

Use Case

Code coverage in particular can set to certain thresholds, that can a fail a build if coverage is under the threshold. This is ideal for anyone who values long term code maintenance.

Code Sample

TBD

Pros / Cons

Not sure if it's available yet with WCT? Need to do a google search! 🔍

thescientist13 commented 5 years ago

Implemented as part of #44 in https://github.com/ProjectEvergreen/create-evergreen-app/pull/14/