...
Code Block | ||
---|---|---|
| ||
def test_sample_onetwo(self): """AAnother sample test. :avocado: tags=sampleall,samplefull_oneregression """ def test_sample_two(self): """Another sample test.:avocado: tags=hw,large :avocado: tags=feature1,feature2 :avocado: tags=sample,sample_twoone """ |
How Do I use Test Tags in a PR?
...
Whether to use Test-tag
or Features
mostly depends on whether you want to include the full_regression
tests for the specified feature tag. In the future, full_regression
tests will not be excluded. Regardless, pr
tests are almost always required to be successfully ran for a PR to be merged.
List of Frequency Tags
These tags determine when a test runs. Some tests might be ran at multiple frequencies.
Avocado Tag | Description |
---|---|
| Ran for every PR. These are generally small core tests. |
| Ran once daily. These are generally less critical than |
| Ran weekly. These are generally less critical than |
| Manual tests for special purposes. These tests might: not run in CI, require special configuration, be for specific environments. |
| SOAK tests are ran manually at specified intervals. |
List of Stage/Environment Tags
These tags determine where a test runs. Each test should only have one set of these tags.
Avocado Tag | Description |
---|---|
| Tests that are ran on the Small Hardware Functional Test stage |
| Tests that are ran on the Medium Hardware Functional Test stage. |
| Tests that are ran on the Large Hardware Functional Test stage. |
| Tests that are ran on the VM Functional Test stages. This tag is usually not specified explicitly. Instead, the lack of a |
Anchor | ||||
---|---|---|---|---|
|
These tags group tests by common Features. This list is currently incomplete.
Avocado Tag | Description |
---|---|
| Tests that verify or use |
| Tests that verify |
| Tests related to Data Mover utilities, including |
| Tests that verify |
| Tests that verify or use |
| Tests that verify |
| Tests that verify or use |
| Tests that verify or use |
| Tests that verify online and offline |
| Tests that verify |
| Tests that verify |
| Tests that verify |
...