-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Remove unused AV/test/fixtures/happy_path #17877
Conversation
@senny I'm sorry about that! 😓 Whenever I find a file that is possibly bound for deletion, I go back in the git history to find references to the original commits and add all the details in the message so reviewers can double-check that my commit is correct. This approach results in more but smaller (atomic) commits, which are shorter to read, double-check and approve/reject. This is the kind of PR that I like to receive on my own repos, so I thought you'd appreciate the same style. If you are more oriented towards an aggregated commit, with a longer message dealing with multiple files at once, then I'll go that direction from now on! 😉 |
@claudiob we generally try to bundle related removals together. Since this looked like the fourth pull request, which removes unused fixtures I assumed you are specifically looking into which fixtures are no longer used. So my thought was, we might as well remove them in one go. |
Remove unused AV/test/fixtures/happy_path
Understood! I'll do that next time! Thanks 🙋 |
@senny On a separate note… have you ever thought of adding a In other words, as soon as one test fails, the execution on Travis is stopped, and the next PR starts getting tested. I use this trick on my own repos, so failing PRs do not take a long time to fail. Sure, you won't see all the errors that made a PR fail, only the first one, but I think the real goal of Travis is not to show you all errors (which you can do locally), but just to be a semaphore. Tell me if you have any opinion about this… if you'd like I can port this discussion to the Google Group! |
I prefer not, or people will fix the actionpack suite but forgot about the
|
The
test/fixtures/happy_path/render_action/hello_world.erb
file was introduced in 8ab37c7 for theTestRenderAction
test.That test was subsequently removed in 34f058e, so the fixture is not used anymore.
Once Travis CI is happy with this PR, you can be sure the fixture can be removed.