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

Use phpunit.xml.dist and add tests dir in .gitattributes #925

Merged
merged 3 commits into from
Jul 3, 2023

Conversation

joanhey
Copy link
Contributor

@joanhey joanhey commented Jul 2, 2023

It's a best practice to use .dist.
So the user can create a phpunit.xml, if he need to test new things, without touch the .dist file.
If don't exist phpunit.xml, it'll use phpunit.xml.dist.

Add /tests/ and phpunit.xml.dist to .gitattributes.
So they are not included in the zip, for use in production.

@joanhey joanhey changed the title Use phpunit.xml.dist and add tests dir in .gitignore Use phpunit.xml.dist and add tests dir in .gitattributes Jul 2, 2023
@walkor walkor merged commit 34a1f08 into walkor:master Jul 3, 2023
@joanhey joanhey deleted the php-unit-dist branch July 3, 2023 07:46
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