Skip to content

Fix tests#941

Closed
ofedoren wants to merge 1 commit into
theforeman:developfrom
ofedoren:test-smth
Closed

Fix tests#941
ofedoren wants to merge 1 commit into
theforeman:developfrom
ofedoren:test-smth

Conversation

@ofedoren
Copy link
Copy Markdown
Member

No description provided.

Comment thread Rakefile
t.libs << 'test'
t.test_files = FileList['test/**/*_test.rb']
t.verbose = true
t.options = "--verbose"
Copy link
Copy Markdown
Member Author

@ofedoren ofedoren May 12, 2026

Choose a reason for hiding this comment

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

As an alternative we could pin rake here. I admit, the fix is from Claude:

The fix is one of:

 - Pin rake to ~> 13.3.0 in bundler.d/test.rb to avoid the new behavior
 - Remove t.verbose = true from the Rakefile (or set it to false) and use TESTOPTS="--verbose" when needed
 - Add -v handling to test-unit (upstream fix)
 - Set t.verbose = true but add t.options = "--verbose" which test-unit's autorunner does understand, preventing the OptionParser -v → --version mapping

@ofedoren
Copy link
Copy Markdown
Member Author

Closing in favor of #938

@ofedoren ofedoren closed this May 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant