Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.04 KB

HACKING.md

File metadata and controls

50 lines (32 loc) · 1.04 KB

Hacking guide for SDK developers

First of all

Please execute make install-devtool.

How to run tests

Use make test.

How to execute PHP_CodeSniffer

Use make phpcs.

How to execute PHPMD

Use make phpmd.

How to execute them all

make

Release Flow

  1. Make a git tag (this project uses semantic versioning)
  2. 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

Testing of HTTP client

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.