-
Notifications
You must be signed in to change notification settings - Fork 44
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
minitest-reporters #15
Comments
I tried adding the minitest-reporters gem to minitest-chef-handler but not having much success. Any ideas? Changed runner.rb to:
Changed minitest-chef-handler.rb have:
Failure:
|
You don't need to call |
So you think just doing below would suffice?
When I wasn't setting MiniTest::Unit.runner I was having issue with this line: |
I see. The problem is that I don't set Minitest::Unit.runner anywhere because it's not used. I don't see the point to set it and I feel that behaviour is wrong, the reporter should not rely on a global variable but in the runner that has been assigned to. |
Yeah, maybe I'll just fork that code and not use that approach but instead use the runner that is already set. Does that sound like that would fix the problem? |
I changed the minitest-reporters to not use a global variable and pass the runner to the reporter and I'm getting a undefined method [] for nil:NilClass
It's becoming hard to debug or track this one down. |
for what I see, that project is basically a complete refactor of minitest. I'm afraid that unless it's merged with minitest the reporters won't work. |
I note a flurry of activity over on minitest-reporters in the last few days. Is their project still incompatible? I didn't see an open ticket regarding the incompatibility noted here - perhaps someone here would like to check if the incompatibility issue still exists? |
Hi,
It would be nice if minitest-chef-handler supported different minitest reporters. I'll see about forking the repo and adding this functionality to allow the user to specify different reporters as an option. Just wanted to mention it in case you had this code already in the works.
https://github.com/CapnKernul/minitest-reporters
Thanks,
Jay
The text was updated successfully, but these errors were encountered: