Examples

This page is intended to provide you with detailed examples on how you can use teflo to perform various actions. Some of the actions below may redirect you to a git repository where further detail is given.


Test Setup & Execution

This section provides you with detailed examples on how teflo can perform test setup and execution using common test frameworks. Below you will find sub-sections with examples for installation and execution using commonly used test frameworks. Each framework has an associated repository containing all necessary files to call teflo to demonstrate test setup and execution. Each of the examples demonstrates how teflo consumes the external automated scripts (i.e, ansible roles/playbooks, bash scripts, etc) to install the test frameworks, and how teflo executes example tests and gets the artifacts of the execution.

Note

These frameworks below are just examples on how you can use teflo to run existing automation you may have to install/setup/execute using common test frameworks. Since teflos primary purpose is to conduct “orchestrate” the E2E flow of a multi-product scenario, it has the flexibility to consume any sort of automation to run against your scenarios test machines defined. This allows you to focus on building the automation to setup test frameworks and then just tell teflo how you wish to run it.

Junit

Please reference the example junit example for all details on how you can execute this example with teflo to run a junit example.

Pytest

Please reference the example pytest example for all details on how you can execute this example with teflo to run a pytest example.

Restraint

Please reference the example restraint example for all details on how you can execute this example with teflo to run a restraint example.