-
Notifications
You must be signed in to change notification settings - Fork 7
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
Reports directory or XML files are not created #7
Comments
I'm having the same problem as @sipani909 on ruby 3.0.0 and ci_reporter_minitest-1.0.0. |
Same here on ruby 3.2.0 but I'm not sure whether it's the Ruby upgrade or the Rails upgrade which did it, because we went through major versions of both in the process and didn't notice reports were missing until the very end. I've done some investigation. Minitest does its best to prevent being investigated by setting I see three reporters on it:
So the reporter seems to be present, but since this
https://github.com/minitest/minitest/blob/master/lib/minitest.rb#L881-L885 |
It looks like there are at least two issues at play - the issue in minitest where some other plugin I had was throwing an error that stopped this plugin being run, but after removing the other plugin, ci_reporter also throws an error. Ironically for the exact same reason. The issue with ci_reporter is already filed: ci-reporter/ci_reporter#167 The fix is also already committed, but there hasn't been a release in forever. |
I have added the following rake code:
require 'digest'
require 'ci/reporter/rake/minitest'
ENV["CI_REPORTS"] = "reports/"
.
.
.
.
desc 'Run Subset of Tests'
task :subset => 'ci:setup:minitest' do
.
.
.
But no reports folder or xml files are being generated.
ruby 2.6.3p62 (2019-04-16 revision 67580)
Minitest-5.14.4
ci_reporter_minitest-1.0.0
The text was updated successfully, but these errors were encountered: