I recently tried my hands at TDD to develop a basic ToDo app
using QUnit as the testing framework.
Here is the link to the application demo.
I have written both unit and integration / functional tests while
developing this app. The source code can be checked here.
To run and see the results of tests, refer below
links:
Unit test results
Integration / Functional test …
Showing entries 1 to 2
Apr
13
2016
Mar
27
2016
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 2