moodlehq / moodle-plugin-ci

Helps running Moodle plugins analysis checks and tests under various CI environments.
https://moodlehq.github.io/moodle-plugin-ci/
GNU General Public License v3.0
41 stars 43 forks source link

PHPUnit Command: Support more native command options #299

Open joaop221 opened 3 months ago

joaop221 commented 3 months ago

Hi there!

Moodle plugin CI supports a little bit of parameters specified by PHPUnit 9.x documentation.

My suggestion is to adapt the command to receive, at least, more coverage and log reporting options.

This can be done, by changing the ideia of only proxy params to create some logic. For instance:

moodle-plugin-ci phpunit --fail-on [ warning, incomplete... ] --log [ junit, teamcity... ] --coverage [ clover, text... ]

If these ideas are viable for this project, I'm at your disposal.