wunderio / code-quality

List of tools that aims to help with static code quality inspection.
GNU General Public License v3.0
2 stars 5 forks source link

Add phpunit unit tests #64

Open hkirsman opened 3 years ago

hkirsman commented 3 years ago

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 commented 2 years ago

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.