Skip to content

Conversation

@Otto-AA
Copy link
Collaborator

@Otto-AA Otto-AA commented Oct 12, 2025

Add result descriptions in mutmut browse.

  • add basic description for all results
  • add exit codes for all results (maybe helps with debugging / unexpected statuses)
  • add expected + actual time for timeouted mutants
  • mention which test case killed a mutant
  • show error for killed mutants (maybe only in mutmut show?)
  • somehow mention all relevant test cases, with some limit / scrolling / ...

@Otto-AA Otto-AA force-pushed the mutant-result-descriptions branch from e3d6584 to dc4327e Compare October 19, 2025 07:40
@Otto-AA Otto-AA changed the title Add description for timed out mutants Add result descriptions in mutmut browse Oct 19, 2025
@Otto-AA Otto-AA linked an issue Oct 19, 2025 that may be closed by this pull request
@Otto-AA Otto-AA marked this pull request as draft October 19, 2025 07:47
@Otto-AA Otto-AA marked this pull request as ready for review November 1, 2025 10:53
@Otto-AA
Copy link
Collaborator Author

Otto-AA commented Nov 1, 2025

I've added a new action "t" to view the tests for the selected mutant.

screenshot fullscreen

On a small screen, we will have a scroll option for the diff:

screenshot small

@Otto-AA
Copy link
Collaborator Author

Otto-AA commented Nov 1, 2025

If that looks good to you, I'd merge it as it is @boxed .

I'll postpone the support for "which test killed this mutant" / "what was the exception that killed this mutant". This will require inter-process communication between the parent process and the forked process (Pipe, Queue, etc.). Currently, the info we get from the forked process is limited to exit code and duration.

@boxed
Copy link
Owner

boxed commented Nov 1, 2025

I like it.

@Otto-AA Otto-AA merged commit b6c8b6b into main Nov 1, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add description why each mutant got killed

3 participants