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

Move tests for generated files into generated file test folder #538

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

shish
Copy link
Collaborator

@shish shish commented Jan 31, 2025

Tests for generator belong in /generator/tests, tests for generated files (and manual code in /lib) belong in /tests

This PR is a little trickier than simply moving files because a couple of the tests had conflicting filenames (ie, tests/GeneratedFilesTest.php and generator/tests/GeneratedFilesTests.php both exist, with different contents, so they needed to be manually merged)

@shish shish marked this pull request as draft January 31, 2025 15:48
Tests for generator belong in `/generator/tests`, tests for generated files (and manual code in `/lib`) belong in `/tests`

This PR is a little trickier than simply moving files because a couple of the tests had conflicting filenames (ie, `tests/GeneratedFilesTest.php` and `generator/tests/GeneratedFilesTests.php` both exist, with different contents, so they needed to be manually merged)
@shish shish marked this pull request as ready for review January 31, 2025 16:02
@shish shish merged commit 5fe8535 into master Feb 1, 2025
23 checks passed
@shish shish deleted the pr538 branch February 1, 2025 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant