Allow for preventing reset during interactive tests

オープン
#959 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

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

評価

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

調査の方向性

まず issue #655 とリンクされている workaround の test/plugins/coverage.js を読んで、現在のリセット動作と望ましい設定を理解してください。インタラクティブテストで、ユーザーが手動でリセットするまで coverage を保持でき、既存の動作はデフォルトで変更されない状態になれば完了です。

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

説明

Is your feature request related to a problem? Please describe.
Similar to #655
I would like to be able to run a few tests in my e2e and a few tests in my components and see the coverage report for those tests from interactive mode. I currently manually reset the coverage when I need to.

Describe the solution you'd like
I'd like to set a config flag that simply prevents the reset so I can reset things manually when I want to.

Describe alternatives you've considered
I currently have my own coverage plugin to get around this issue, but I'd like to switch to this plugin.

Additional context
My current solution:
https://github.com/RoundingWell/care-ops-frontend/blob/develop/test/plugins/coverage.js#L20

主要言語
TypeScript
スター
440
フォーク
114
平均マージ
42分
マージ済み PR(30日)
19

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

cypress-io/code-coverage のほかの issue

cypress-io/code-coverage の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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