tobiko/doc/source/user/run-test-cases.rst
Nathan Weinberg 4911a1cbc2 [docs] Made additional updates to Tobiko documentation
Also reorganized a few things in a way I think makes them
a bit clearer, feel free to leave feedback in reviews

Change-Id: I879cb957ef35f9b6e1176a4528d8f9f5f33a4c90
2021-02-15 17:53:02 -05:00

1.2 KiB

Tobiko Test Cases Execution Guide

This document describes how to execute Tobiko scenario test cases.

See also

For a quick and simpler start you can jump to the tobiko-quick-start-guide.

To install Tobiko inside a virtualenv please read tobiko-installation-guide.

To configure Tobiko please read tobiko-configuration-guide.

Prepare Your System

Before running Tobiko test cases, you need to be sure you are doing it from Tobiko source files folder and that you have activated a virtualenv where Tobiko and its requirements are installed. Please refer to tobiko-installation-guide and tobiko-configuration-guide to know how to setup your system before running test cases.

Run Scenario Test Cases

To run test cases you need a test runner able to execute Python test cases. Test cases delivered with Tobiko has been tested using stestr

From the Tobiko source folder you can run scenario test cases using the below command:

stestr run --test-path tobiko/tests/scenario/