Multiple choice technology testing

How the test engine interprets when generic test return a result of 0 or another number?

  1. 0 as Pass

  2. 0 as Fail

  3. None

  4. Just a result.

Reveal answer Fill a bubble to check yourself
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.