Test Runners

A Test Runner is used to execute the test suite and show the result. With a Test Runner, you can easily:

  • Run automatic, semi-automatic and manual test cases and test suites.
  • Follow the results in real time.
  • Run only the needed test cases.
  • Change the execution order of test cases.

LAVA Test Runner

class cros.runners.lava_runner.LavaTextTestResult(runner, verbosity=0)[source]
addError(test, err)[source]

Called when an error has occurred. ‘err’ is a tuple of values as returned by sys.exc_info().

addFailure(test, err)[source]

Called when an error has occurred. ‘err’ is a tuple of values as returned by sys.exc_info().

addSkip(test, reason)[source]

Called when a test is skipped.

addSuccess(test)[source]

Called when a test has completed successfully