/php-testing-demo

Boilerplate and demo for tests in PHP project

Primary LanguagePHPMIT LicenseMIT

Boilerplate for tests in PHP project

This repository demonstrate a simple setup with four automated tests run with Phing:

  • PHPCS for code style
  • PHPCPD for copy/paste detection
  • PHPSpec for unit tests
  • Behat for end-to-end / integration tests

How to run project

  1. Download Composer
  2. Run composer install in project directory
  3. Run ./bin/phing in project directory