2010年5月26日 星期三

Test harness/Test stubs/Test instrumentation的區別

* Test harness " a contrived code that executes the test cases which are invented to test the unit under test

* Test stubs " optional functions (or macros) created to replace functions (or macros) called from the unit under test (UUT) to abstract from the actual behaviors of the real functions.

* Test instrumentation " code plugged into the UUT to expose its behaviors normally not visible from the outside and to output "documentable" traces of execution.

參考文章:http://www.embedded.com/design/201805598

=================================================

In software testing, a test harness or automated test framework is a collection of software and test data configured to test a program unit by running it under varying conditions and monitoring its behavior and outputs.

It has two main parts: the Test execution engine and the Test script repository.


沒有留言:

張貼留言