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

Ignore *Test named classes again #593

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

nvasilevski
Copy link
Contributor

Partially reverts #579

Not ignoring classes named *Test end up resulting in a bug where test classes that inherit from Rails' framework specific test class like ActiveJob::TestCase started to be considered dead. #592

All of the framework test cases inherit from ActiveSupport::TestCase so ultimately it should be enough to have it ignored

ignore_classes_inheriting_from("ActiveSupport::TestCase")

should suffice but at the moment spoom doesn't see the AJ::TestCase < AS::TestCase inheritance chain so until we get it fixed we are bringing the *Test ignore rule back

@nvasilevski nvasilevski requested a review from a team as a code owner July 29, 2024 16:45
@nvasilevski nvasilevski merged commit e1da5bf into main Jul 29, 2024
8 checks passed
@nvasilevski nvasilevski deleted the bring-back-ignore-of-all-Test-classes-to-minitest branch July 29, 2024 16:59
@Morriar
Copy link
Collaborator

Morriar commented Jul 29, 2024

@nvasilevski do you mean creating a new Spoom release with this fix please? 🙏

@KaanOzkan KaanOzkan added the bugfix Fix a bug label Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fix a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants