Skip to content

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.

2 participants