Skip to content

jakub-frajt/comparison-of-PHP-testing-tools

Repository files navigation

Requirements

  • Linux, tested on Ubuntu 18.10.
  • Docker (>= 18.09) and Docker Compose (>= 1.23.1)

Setup

For running tests in PHP, we need to setup Apache server with PHP, MySQL for an integration and acceptance tests. So after clone or download this repository, run a bash script setup.sh that handle installation of dependencies and set up a server with MySQL:

    ./setup.sh

Running tests

After that we can run tests for a specific testing tool:

    ./run_tests.sh phpunit

Currently supported options/tools are phpunit, mockery, codeception

About

Examples of tests in PHP for chosen testing tools in a thesis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages