Sign inSign up

vegbrasil/phpunit

By vegbrasil

•Updated over 9 years ago

PHPUnit is a programmer-oriented testing framework for PHP. Includes MySQLi and Xdebug.

Image
0

245

vegbrasil/phpunit repository overview

⁠PHPUnit with MySQLI and Xdebug

Orignally from djbingham/phpunit-mysqli, this a simple image to work with PHP unit testing.

⁠Usage

Quick usage (in the same directory of phpunit.xml): docker run --rm -v $(pwd):/app phpunit

Don't forget to declare the correct Docker network in case your code needs to interact with other containers: docker run --rm -v $(pwd):/app --network="testing" phpunit

You can also set PHPUnit options: docker run --rm -v $(pwd):/app phpunit --verbose --debug --configuration tests/phpunit.xml

Tag summary

Content type

Image

Digest

Size

170.5 MB

Last updated

over 9 years ago

docker pull vegbrasil/phpunit