Skip to content

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

Merged
shish merged 1 commit into
masterfrom
pr538
Feb 1, 2025
Merged

Move tests for generated files into generated file test folder#538
shish merged 1 commit into
masterfrom
pr538

Conversation

@shish

@shish shish commented Jan 31, 2025

Copy link
Copy Markdown
Collaborator

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
@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