Skip to content

API Testing vs. Unit Testing

Mahmoud A. Zaid edited this page Mar 12, 2019 · 4 revisions

API testing and unit testing are not the same thing, although they are similar.

Unit Testing API Testing
Developer perform it Tester Perform it
Separate functionality is tested End to End functionality is tested
Developer can access the source code Testers cannot access the source code
UI testing is also involved Only API functions are tested
Usually ran before check-in Ran after build is created
Only basic functionalities are tested All functional issues are tested
Clone this wiki locally