Please execute make install-devtool
.
Use make test
.
How to execute PHP_CodeSniffer
Use make phpcs
.
How to execute PHPMD
Use make phpmd
.
make
- Make a git tag (this project uses semantic versioning)
- Push the tag to origin
That's all. It will be publish on composer automatically.
e.g.
$ git tag 1.2.3
$ git push origin 1.2.3
Test cases of HTTP client send HTTP request actually to req_mirror. req_miror is an HTTP server that parrots received a request as a response.
make install-devtool
downloads an executable binary of req_mirror to your devtool/
directory and test runner launches req_mirror server at beforeClass
phase.
After, each test case sends request to the launched server and verify the request.