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

Retest defaults to test_*.rb pattern even when *_test.rb file exists #138

Closed
AlexB52 opened this issue Oct 1, 2022 · 0 comments · Fixed by #169
Closed

Retest defaults to test_*.rb pattern even when *_test.rb file exists #138

AlexB52 opened this issue Oct 1, 2022 · 0 comments · Fixed by #169
Labels
bug Something isn't working

Comments

@AlexB52
Copy link
Owner

AlexB52 commented Oct 1, 2022

Here is the original issue

  • When updating the file test_options.rb
  • I expect retest to select test_options_test.rb
  • and not to return the file test_options.rb

I think this is also related to this issue:

  • Given there are three files test_fixtures.rb, fixtures.rb and fixtures_test.rb
  • A change in fixtures.rb selects test_fixtures.rb by default
  • When it should offer the option to choose between test_fixtures.rb and fixtures_test.rb

When a file is discovered with the pattern test_*.rb we do not continue searching for other file patterns which could potentially be more appropriate.

@AlexB52 AlexB52 added the bug Something isn't working label Oct 1, 2022
@AlexB52 AlexB52 changed the title [BUG] filename confusion Retest defaults to test_*.rb pattern even when *_test.rb file exists Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant