Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/testing-guidelines/WritingPesterTests.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ In the AppVeyor CI, we run two different passes:

In each case, tests are executed with appropriate privileges.

Tests that need to be run with sudo **on Unix systems** should be additionally marked with 'RequireSudoOnUnix' Pester tag.
'RequireSudoOnUnix' tag is mutually exclusive to all other tags like 'CI', 'Feature' etc. (which are now ignored when 'RequireSudoOnUnix' is present) and is treated as 'CI'.
Similarly as above, we run the tests in Travis CI in two passes:
- With sudo only tests with 'RequireSudoOnUnix' tag
- Without sudo all tests excluding those with 'RequireSudoOnUnix' tag.

### Selected Features

#### Test Drive
Expand Down