-
Notifications
You must be signed in to change notification settings - Fork 3
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
Consider moving tests outside of src/ #6
Comments
@Wojciechem Thanks for creating first issue in my repo :-). Your suggestion sounds legit. Could you please confirm that you're talking about something like that: https://madewithlove.com/blog/software-engineering/gitattributes/ ? |
@Wojciechem I am not an expert on .gitattributes. Could you please review my PR or tell how to properly test this change? |
@michalbiarda Yes, the article summarizes it well. |
Thanks @Wojciechem 👍. I merged it at it worked just fine :-). |
A pretty standard practice for libraries is to have two directories at the root:
and include tests only in autoload-dev.
This also allows to exclude tests from "dist" library, using .gitattributes with
tests/ export-ignore
- making it a bit more lightweight - great for production use.The text was updated successfully, but these errors were encountered: