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

Add phpunit unit tests #64

Open
hkirsman opened this issue Sep 16, 2021 · 1 comment
Open

Add phpunit unit tests #64

hkirsman opened this issue Sep 16, 2021 · 1 comment

Comments

@hkirsman
Copy link
Collaborator

I think unit tests are quite fast and they could be run on git commit. The script should find find the module path for the files that are being commited so it would not trigger the whole testcase for site.

@hkirsman
Copy link
Collaborator Author

hkirsman commented Nov 4, 2022

There's phpunit task in GrumpPHP https://github.com/phpro/grumphp/blob/master/doc/tasks/phpunit.md

In our case though we want to run tests inside the module where we did the update.

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

No branches or pull requests

1 participant