What's Changed
$ puco --help
Usage: puco [options]
puco
Options:
-repeat
This flag starts with data selected by the most recently executed puco.
Example:
puco # normal launch
puco --repeat # launch using the most recent data
Processing description:
1. You can select multiple test files to run (fuzzy search available).
2. You can select multiple PHP files for which you want to calculate coverage (fuzzy search available).
3. Calculate the longest matching directory path from multiple selected PHP file paths in step 2
- ※ Note that only the PHP file paths selected in step 2 are not the target for coverage calculation. Instead, the directory path under the longest match calculated becomes the target for coverage calculation. If there are numerous PHP files under the calculated directory path, the coverage calculation process may become slow.
4. If Steps 1 and 3 and an existing phpunit.xml are present, generate phpunitxml_generated_by_puco.xml based on them.
5. Assemble and execute the php command.
6. Coverage reports are generated under the coverage-puco directory.
WARNING:
When puco is run for the first time, a configuration file named ~/.config/puco.toml is created. This configuration file contains a key: CommandToSpecifyBeforePHPCommand. It specifies that the PHP command should be executed via the Docker command. If you wish to execute the PHP command directly, please set the value of this key to "" or delete this entire line.
$Full Changelog: v1.1.2...v1.1.3