Note
It is expected that you cannot run this project without the api base url and its endpoints.
The purpose of this project is to demonstrate that I've developed something for personal use and future reference.
If you have any questions, feel free to contact me through one of my socials on my github profile.
API Testing Automation
phpunit
guzzle
faker
- [GET Balance]
- [POST Register]
- [POST Deposit]
- [POST Withdraw]
- [POST Transaction Check]
- [GET Game Limit]
- [GET List]
- [GET Game URL]
- [GET Game History]
- [GET Game Promo]
- Composer make sure Composer is installed in your system
-
Clone this project on your local machine
https://github.com/markuusche/phpunit-api
-
Open a terminal inside your local clone of the repository.
-
Install dependencies:
phpunit
composer require --dev phpunit/phpunit
guzzle
composer require --dev guzzlehttp/guzzle
faker
composer require --dev fakerphp/faker
Run tests
./vendor/bin/phpunit --testsuite TestAPI --testdox