Skip to content
Collection of TestVectors-based test cases
Dockerfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSES
bcm Fixed spacing for SPDX licenses Oct 22, 2019
bmv2 Fixed spacing for SPDX licenses Oct 22, 2019
docs
dummy Fixed spacing for SPDX licenses Oct 22, 2019
proto Fixed spacing for SPDX licenses Oct 22, 2019
tofino
.gitignore
LICENSE
README.md

README.md

Test Vectors

Repo of Test Vectors-based test cases

Test Vectors offer a compact way of defining test input/output. A Test Vector is defined as a set of Test Cases where each test case is defined as a set of Actions and Expectations. Actions are operations run on the switch sequentially, in parallel, or in random sequence. Expectations are expected behavior and start after all actions are triggered. The assumption here is the switch is a blackbox, so an action or an expectation is basically a set of Open API access or external stimulus.

Detailed description of Test Vectors structure can be found in the docs.

Reference implementation of Test Vectors Runner and commands to run example tests can be found here

You can’t perform that action at this time.