This POC (prove of concept) applies TDD (Test Driven Development) to auction software.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to do to run the software:
- PHP 7.4 or greater
- Composer 1.9.0
- PHPUnit 9.5.4 by Sebastian Bergmann and contributors.
- First of all, you must to have docker installed in your machine (follow the steps in documentation)
- Clone this repo to your local enviroment
$ git clone https://github.com/matheusolivesilva/auction-with-tdd.git
- Run
$ docker-compose up
and open the file executed-tests.txt to check the result of the tests
- Clone this repo to your local enviroment
$ git clone https://github.com/matheusolivesilva/auction-with-tdd.git
- Run in the command line
$ ./prepareapp.sh
- Open the file executed-tests.txt to check the result of the tests
- Clone this repo to your local enviroment
$ git clone https://github.com/matheusolivesilva/auction-with-tdd.git
- Install the dependencies with
$ composer install
- Run in the command line
$ vendor/bin/phpunit tests
- Open the file executed-tests.txt to check the result of the tests
- PHPUnit Testing Framework
- VIM Editor
- PHP
- Gitflow
- Composer