Skip to content

Feature request: output alive test selectors at end of output #1208

Open
@backus

Description

Hello old friends. Long time no issue 😄

Often, I will run mutant against MyApp* (either locally or in CI) at the end of writing a feature. I have then done this workflow probably over a hundred times:

  • I will select the entire output
  • Copy it into my text editor
  • Extract every line matching matching /^evil:(.+?):\// to get the unkilled test selectors
  • Dedupe them

Then keep them in an unsaved file, rerun mutant with one of the specific test selectors, kill those mutants, remove it from the temp file, repeat until I have an empty file.

I don't want anything fancy really. It would just be nice if, at the very bottom of a mutant run, it said something like:

Uncovered mutations detected:

MyApp::User#valid?
MyApp::Signin#show
MyApp::Util#deep_fetch
MyApp::Country#supports_zone?

Exiting non-zero!

This would especially save time because, often, the CI output can be megabytes of text and doing this manual extraction is annoying and time consuming

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions