Sometimes we have apis implemented in our application and there
are different levels at which these can be tested.
1. Unit tested at model level to check the logic is working
fine
2. Tested at API call level to ascertain whether all the apis as
expected are working and are returning data as expected.
Today, we will be learning how to test APIs in CodeIgniter 2.x
version using phpunit and Guzzle Http client.
Basically Guzzle Http client is a client used to make http client
requests.
Ref: https://github.com/guzzle/guzzle
"Guzzle is a PHP HTTP client that makes it easy to send HTTP …
Showing entries 1 to 1
Mar
27
2016
Showing entries 1 to 1