| Crates.io | neotest-docker-phpunit |
| lib.rs | neotest-docker-phpunit |
| version | 0.1.4 |
| created_at | 2024-03-26 18:56:20.129551+00 |
| updated_at | 2024-09-04 07:54:43.248884+00 |
| description | A tool to execute phpunit test cases in the docker container and export the results. |
| homepage | https://github.com/praem90/neotest-docker-phpunit |
| repository | https://github.com/praem90/neotest-docker-phpunit |
| max_upload_size | |
| id | 1186825 |
| size | 16,270 |
Run phpunit tests in the docker container. This is a helper lib for neotest-docker-phpunit but works standalone.
Install from source
git clone https://github.com/praem90/neotest-docker-phpunit.git
cd neotest-docker-phpunit
cargo build
Install from cargo
cargo install neotest-docker-phpunit
neotest-docker-phpunit /path/to/php/file/folder --log-junit=path/to/the/result.xml --container=php --volume="docker/style/:volume/map" --standalone=false
--container name or id of the phpunit container--volume Map work dir to the container like docker's volume mount. E.g., host/path:docker/path--standalone Whether use docker compose or not. Default false means docker compose will be used--log-junit Unit test results xml file. Unit test results will be stored in this file.neotest-docker-phpunit adapter for the neotest plugin