GetResultsFromTest Method (string, string)

Gets the results for a specific completed test from the previous test run. If the test was looped multiple times then results for each loop are returned.

Type: Runner

Namespace: XJTAG.Integration.XJRunner

Syntax

public IEnumerable<TestResult> GetResultsFromTest(string groupName, string testName)

Parameters

groupName

Type: string

The group name.

testName

Type: string

The test function name.

Return Value

System.Collections.Generic.IEnumerable<TestResult>

An IEnumerable of TestResult objects that hold the XJEase test result and text output. Will be empty if results for the test were not found in the last test run.

Exceptions

System.ArgumentException

The group name or test name are empty.

System.ArgumentNullException

The group name or test name are null.

System.ObjectDisposedException

The Runner has already been disposed.