Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rspec is quitting signal #1430

Merged
merged 1 commit into from
Mar 20, 2024
Merged

Fix rspec is quitting signal #1430

merged 1 commit into from
Mar 20, 2024

Conversation

mbj
Copy link
Owner

@mbj mbj commented Mar 20, 2024

No description provided.

@mbj mbj force-pushed the add/rspec-is-quitting-signal branch from ecbc6d2 to d248c43 Compare March 20, 2024 13:58
@@ -102,6 +102,14 @@ def available_tests

private

def rspec_setup_failure?
@rspec_world.wants_to_quit || rspec_is_quitting?
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RSpec (3.9 and above) have "more than one signal" that setup failed. Mutant needs to respect both. One would assume that rspec_is_quitting would imply wants_to_quit but this is not the case.

@mbj mbj merged commit 725181c into main Mar 20, 2024
50 checks passed
@mbj mbj deleted the add/rspec-is-quitting-signal branch March 20, 2024 14:00
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.

None yet

1 participant