results


Description:

[ Version ( since = "0.6.1" ) ]
public (unowned TestResult)[] results ()

Return an array of results for all tests run by a suite runner.

Number of results is equal to SRunner.ntests_run, and excludes failures due to setup function failure.

Information about individual results can be queried using: TestResult.rtype, TestResult.ctx, TestResult.msg, TestResult.lno, TestResult.lfile, and TestResult.tcname.

Returns:

array of TestResult objects

Since:

0.6.1