...
The /wiki/spaces/CI/pages/1389759093 specify which tests are run for a PR. By default, all tests tagged with pr
are ran. I.e. Test-tag: pr
. To run specific tests, you should first identify which tags you need. See Feature Tags for a list of common tags. To run a specific test case, you will need to find its tag in the test file. There are two pragmas to specify which tags to run:
Test-tag
- Runs only the tags specified.Test-tag: pr checksum
- Runspr
tests andchecksum
tests.Test-tag: checksum
- Runs onlychecksum
tests.
Features
- Runs the default set of tags (pr
), plus the tags specified minusfull_regression
.Features: checksum
- Equivalent toTest-tag: pr checksum,-full_regression
...
Test-tag
...
- Runs only the tags specified.
Test-tag: pr checksum
- Runspr
tests andchecksum
tests.Test-tag: checksum
- Runs onlychecksum
tests.
Info |
---|
|
When Do I Need to Specify Test Tags?
When a change is 100% covered by existing unit tests, there is no need to specify additional tags.When a change is covered by new unit tests, you might need to specify the corresponding Feature Tag.
When a change is not 100% covered by unit tests, you do need to specify the corresponding Feature Tag.
E.g. Middleware applications, high-level functional verification, 3rd-party libraries, integration
When a change modifies or adds Functional Tests or the Functional Test Framework, you do need to specify the corresponding Feature Tags and/or Specific Test Tags.
When a change fixes a failing Functional Test, you do need to specify the corresponding Specific Test Tags.
...