agiuliano / phpunit-docker

:package: Docker container to install and run PHPUnit.

Home Page:https://hub.docker.com/r/phpunit/phpunit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHPUnit Docker Container.

Docker pull Docker pull Github issues License

Docker container to install and run PHPUnit.

Features

Installation / Usage

  1. Install the phpunit/phpunit container:

    $ docker pull phpunit/phpunit
  2. Create a phpunit.xml defining your tests suites.

... ```

  1. Run PHPUnit through the PHPUnit container:

    $ docker run -v $(pwd):/app phpunit/phpunit run

To run, test and develop the PHPUnit Dockerfile itself, you must use the source directly:

  1. Download the source:

    $ git clone https://github.com/JulienBreux/phpunit-docker.git
  2. Switch to the phpunit-docker directory:

    $ cd phpunit-docker
  3. Build the container:

    $ docker build -t phpunit/phpunit .
  4. Test running the container:

    $ docker run phpunit/phpunit --help

About

:package: Docker container to install and run PHPUnit.

https://hub.docker.com/r/phpunit/phpunit/

License:MIT License


Languages

Language:Ruby 58.9%Language:Makefile 22.7%Language:HTML 18.5%