totara / totara-docker-dev

A docker setup to create a development environment for Totara Learn
MIT License
49 stars 32 forks source link

Add support for parallel PHPUnit execution to existing PHPUnit alias functions #185

Closed markmetcalfe closed 3 years ago

markmetcalfe commented 3 years ago

This allows you to specify --processes=N or --parallel=N for the installunit and unit phpunit aliases that we have.

I also took the opportunity to tidy up the existing bash code for our alias functions and split them out into more isolated functions so its easier to reuse stuff in the future.