Actions
Refactor #24293
closedNot able to run single tests via the line number
Description
Rails 5 gave us the ability to run single minitest cases via the line number. For example:
`bundle exe rails test test/unit/authorizer_test.rb:14`
This however does not work currently.
Also possibly related, when tests fail then the output at the end gives us:
```
Focus on failing tests:
ruby ../../../.rvm/gems/ruby-2.4.1/gems/minitest-spec-rails-5.4.0/lib/minitest-spec-rails/dsl.rb -l 27
ruby ../../../.rvm/gems/ruby-2.4.1/gems/minitest-spec-rails-5.4.0/lib/minitest-spec-rails/dsl.rb -l 27
```
Here we should actually be seeing the test location and line number, not that of the gem :D
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/5856 added
Updated by Ewoud Kohl van Wijngaarden over 6 years ago
- Category set to Tests
- Target version set to 1.20.0
Updated by Peter Lehwess over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 7fbc4dfaf3c0f1c5b58bf1088483c8e6447383c2.
Actions