Skip to content

Commit

Permalink
Merge pull request #9532 from habitat-sh/test_rel
Browse files Browse the repository at this point in the history
testing release branches
  • Loading branch information
mwrock authored Dec 31, 2024
2 parents efaa36a + a027182 commit ea2dd25
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions VERIFICATION_TESTING.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
## PR Verification Testing

All components of habitat are tested when PRs are created. The helper scripts are designed to run against a single component (such as `common`), in an environment that has habitat and rust preinstalled.

#### Linux
```
.expeditor/scripts/verify/run_cargo_test.sh <component>
```
*Parameters:*
`--test-options` - allows you to pass options such as `--test-threads=1` to the cargo test command.
`--features` - allows you to enable specific features when running tests.

#### Windows (powershell 5+)
```
.expeditor/scripts/verify/run_cargo_test.ps1 <component>
```
*Parameters:*
`--TestOptions` - allows you to pass options such as `--test-threads=1` to the cargo test command.
`--Features` - allows you to enable specific features when running tests.

####Examples
## PR Verification Testing

All components of habitat are tested when PRs are created. That's right...I said created. The helper scripts are designed to run against a single component (such as `common`), in an environment that has habitat and rust preinstalled.

#### Linux
```
.expeditor/scripts/verify/run_cargo_test.sh <component>
```
*Parameters:*
`--test-options` - allows you to pass options such as `--test-threads=1` to the cargo test command.
`--features` - allows you to enable specific features when running tests.

#### Windows (powershell 5+)
```
.expeditor/scripts/verify/run_cargo_test.ps1 <component>
```
*Parameters:*
`--TestOptions` - allows you to pass options such as `--test-threads=1` to the cargo test command.
`--Features` - allows you to enable specific features when running tests.

####Examples
See [verify.pipeline.yml](.expeditor/verify.pipeline.yml) for a full list of what is run in the CI pipeline, and what parameters are used.

0 comments on commit ea2dd25

Please sign in to comment.