failures


Description:

[ Version ( since = "0.6.0" ) ]
public (unowned TestResult)[] failures ()

Return an array of results for all failures found by a suite runner.

Number of results is equal to SRunner.nfailed_tests.

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.0




2022 vala-language.org