executeTest method

Future<TestReport> executeTest({
  1. required Test test,
  2. TestReport? report,
})

Executes a single test. This will reset the application and submit the report. If the report is set it will be used, otherwise a net-new TestReport will be created and returned.

Implementation

Future<TestReport> executeTest({
  required Test test,
  TestReport? report,
}) async {
  return await execute(
    name: test.name,
    report: report,
    reset: true,
    steps: test.steps,
    submitReport: true,
    suiteName: test.suiteName,
    version: test.version,
  );
}