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

Replace result.class with result.klass #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hakanai
Copy link

@hakanai hakanai commented Feb 9, 2023

result.class returns the class of the result object, but what you really want is the name of the test class, which is in result.klass.

Currently, all test reports end up in the "Minitest::Result" suite.

I guess there should be a question about whether this breaks compatibility with some earlier version of minitest, whether that matters, and what to do if it does.

`result.class` returns the class of the result object, but what you
really want is the name of the test class, which is in `result.klass`.
@TastyPi
Copy link

TastyPi commented Jul 24, 2023

Fixes #9

@shepmaster can we get this merged please?

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.

2 participants