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

Improve test file structure and naming #1191

Closed

Conversation

lawrence-forooghian
Copy link
Collaborator

This hopefully makes our test files easier to navigate, by separating test files from test utilities, and naming the test files to make it clear they’re tests. See commit messages for more details.

I think it’s a bit confusing to have them both mixed into a single list.
This makes them:

- more descriptively named
- easier to find through a fuzzy file matcher that only matches on the
  basename, like Xcode’s “Open Quickly”
@QuintinWillison
Copy link
Contributor

I've removed review requests, given this pull request is in draft state, has conflicts and failing checks. @lawrence-forooghian, it would be helpful if you could update here as to current status and close if that's appropriate. Thanks.

@lawrence-forooghian
Copy link
Collaborator Author

Thanks for that @QuintinWillison. I held off on merging / chasing reviewers for this earlier since it was failing CI presumably due to flaky tests. Since this PR is going to end up with merge conflicts (and hence need another hard-to-get-green CI run) pretty much every time anything gets merged into main, I think landing this might be a hassle at the moment. Perhaps one to revisit once we've got the tests green. We might be able to automate this as part of #1201 even.

I've created #1203 to make sure we revisit, and am closing this PR.

@lawrence-forooghian lawrence-forooghian deleted the improve-test-file-structure-and-naming branch November 3, 2021 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants