(optionally) run the full test suite on any "surviving" mutants to confirm

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
testing-qa

調査の方向性

ファイルやテストのエントリポイントは指定されていません。まず、mutmut が各ミュータントのテストをどのように選択し、生き残ったミュータントをどのように記録するかを追跡し、次に既存の全テストスイートのコマンドパスを特定します。完了の条件は、オプション設定によって、最初に生き残ったミュータントに対してのみ全テストスイートを再実行し、その再実行によって確認された生き残りと倒されたミュータントを区別できることです。

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

説明

Sometimes for weird 3rd-party-library doing something funky stuff reasons, the way mutmut uses coverage to determine the subset of unit tests to run on a mutant isn't fully accurate. (I personally ran into a case where FastAPI was generating the OpenAPI schema file, and my tests did some assertions about that, but mutmut didn't autodetect that the mutations it made would impact the OpenAPI schema file)

It seems like it might be helpful to have an option for mutmut to automatically run the full test suite on any mutants that survived the initial screen in order to confirm they are true survivors, and not just that they survive the subset of tests most likely determined to be able to kill them.

主要言語
Python
スター
1.5k
フォーク
190
平均マージ
1日 11時間
マージ済み PR(30日)
8

環境構築

はじめの一歩

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

boxed/mutmut のほかの issue

boxed/mutmut の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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