Upload
magus-chen
View
1.340
Download
7
Embed Size (px)
DESCRIPTION
Citation preview
Categorization of Tests
Small
Medium
Large
Categorization of Automation
Unit Test
API Test
UI
● Common
○ Code level
○ May need to read the code under test (white box test)
● Unit test won't:
○ Query on Database
○ Communicate across network
○ Touch file system
○ Run several tests at the same time
Unit Test vs. API Test
● Return value based on input condition
● Does not return anything
● Trigger some other API/event/interrupt
● Modify certain resources
Test Cases for API Test