Skip to content

skeleton/testing-playground

 
 

Repository files navigation

PHP testing playground

Build Status

Option 1: Use with locally installed PHP

Requirements

  • PHP (>= 7.1)
  • Composer

Getting started

  • Clone this repository and cd into it.
  • Run composer install --prefer-dist to install the project's dependencies.

Usage

  • Run ./run_tests.sh to run the tests.

Option 2: Use with Docker

Requirements

Getting started

  • Follow the instructions for setting environment variables HOST_UID, HOST_GID and DOCKER_HOST_IP.
  • Clone this repository and cd into it.
  • Run docker-compose pull.
  • Run bin/composer.sh install --prefer-dist to install the project's dependencies.
  • Optionally, configure PhpStorm for debugging.

Usage

  • Run docker/composer.sh to use Composer (e.g. docker/composer.sh require --dev symfony/var-dumper).
  • Run docker/run_tests.sh to run the tests.

About

Playground for (unit/integration/acceptance) testing-oriented workshops.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 94.0%
  • Shell 5.2%
  • Gherkin 0.8%