azu / JavaScript-Plugin-Architecture

JavaScriptプラグインアーキテクチャの本
https://azu.github.io/JavaScript-Plugin-Architecture/
MIT License
250 stars 12 forks source link

feat(coverage): add coverage for text #91

Closed azu closed 8 years ago

azu commented 8 years ago

文章に対するコードカバレッジを追加

を利用してる。

厳しめ(必ずしもLintが通るわけではない)ルールを用意して、そちらでチェックした結果をコードカバレッジとして表現している。

100%が理想的目標

codecov.io codecov.io

それに対する現実の値が%として表現されている。

Current coverage is 96.85%

なら問題なさそう。70%とか切るとちょっとという感じ(逆に通常のnpm run textlintが通ってるのに、カバレッジがすごく落ちてるなら厳しめのルールとの間に剥離があるかもしれない)

codecov-io commented 8 years ago

Current coverage is 96.87%

Merging #91 into master will increase coverage by +46.87% as of e2db561

@@            master     #91   diff @@
======================================
  Files            1       6      +5
  Stmts            4    1025   +1021
  Branches         1       0      -1
  Methods          0       0        
======================================
+ Hit              2     993    +991
+ Partial          1       0      -1
- Missed           1      32     +31

Review entire Coverage Diff as of e2db561

Powered by Codecov. Updated on successful CI builds.