2 What do we do during API testing? Create or use a harness that supports creation of applications that simulate the use of these APIs, and supports passing various parameters to the API. Especially parameter combinations to verify all positive scenarios expose all expected errors test boundary conditions and sequence of API calls to verify that the APIs work fine together. 3 How do we control the scale of API testing? API testing is different from command-line interface (CLI) testing and GUI testing in many ways, one of them being the enormous amount of possible combinations. Because of the different nature of API testing compared with CLI testing and GUI testing, you should accept the fact that you are not going to be able to cover every scenario, and focus on covering most likely scenarios. [LG] Comments References[LG] http://www.logigear.com/newsletter/api_vs_unit.asp
Create or use a harness that supports creation of applications that simulate the use of these APIs, and supports passing various parameters to the API. Especially
parameter combinations to
and sequence of API calls to verify that the APIs work fine together.
3 How do we control the scale of API testing? API testing is different from command-line interface (CLI) testing and GUI testing in many ways, one of them being the enormous amount of possible combinations. Because of the different nature of API testing compared with CLI testing and GUI testing, you should accept the fact that you are not going to be able to cover every scenario, and focus on covering most likely scenarios. [LG] Comments References[LG] http://www.logigear.com/newsletter/api_vs_unit.asp
API testing is different from command-line interface (CLI) testing and GUI testing in many ways, one of them being the enormous amount of possible combinations. Because of the different nature of API testing compared with CLI testing and GUI testing, you should accept the fact that you are not going to be able to cover every scenario, and focus on covering most likely scenarios. [LG]
References[LG] http://www.logigear.com/newsletter/api_vs_unit.asp