Add a coverage reporters option to ng test and angular json test options

オープン
#27,869 コメント 3 件 リアクション 6 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
angular, typescript
領域
cli, testing

調査の方向性

ng test コマンドと angular.json のテストオプションから始め、既存の reporters オプションと要求されている coverageReporters の動作を比較します。--code-coverage と Karma の設定が現在どのようにカバレッジを処理しているかを確認します。ng test --code-coverage --coverage-reporters lcov で要求された reporter が選択され、angular.json の同等のオプションが機能すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area: @angular-devkit/build-angular devkit/build-angular:karma feature feature: insufficient votes
Command

test

Description

It would be nice to be able to specify coverageReporters similar to reporters for ng test

Describe the solution you'd like

ng test --code-coverage --coverage-reporters lcov

Describe alternatives you've considered

I could just add a karma conf and configure the coverage reports there, but I can configure excludes for code coverage, why not the reporter?

主要言語
TypeScript
スター
27k
フォーク
11.8k
平均マージ
16時間 35分
マージ済み PR(30日)
176

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

angular/angular-cli のほかの issue

angular/angular-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。