API testing is essentially verifying the correctness of the
individual methods that make up your software system rather than testing the overall system
itself.
Weaknesses of using text files include their difficulty at handling inherently hierarchical data
and the difficulty of seeing spurious control characters such as extra <CR><LF>s.
You should take into account boundary values (using input values exactly at, just below,
and just above the defined limits of an input domain), null values, and garbage (invalid) values.
You’ll also create cases with permuted (rearranged) input values like
SUT (system under test) 系统测试
AUT (application under test)应用程序测试
IUT (implementation under test) 集成测试
the test harness 测试工具