How the test engine interprets when generic test return a result of 0 or another number?
-
0 as Pass
-
0 as Fail
-
None
-
Just a result.
A
Correct answer
Explanation
Generic tests in VSTT follow the standard convention where a return value of 0 indicates success (Pass), while any non-zero return value indicates failure. This matches the common programming practice where 0 means successful execution and non-zero values indicate various types of errors. The test engine uses this convention to determine whether the external test executable passed or failed.