Skip to content

Instantly share code, notes, and snippets.

@gaelcolas
Last active July 11, 2016 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gaelcolas/a009d47d38ea15ea58edd7635b4f4572 to your computer and use it in GitHub Desktop.
Save gaelcolas/a009d47d38ea15ea58edd7635b4f4572 to your computer and use it in GitHub Desktop.
Pester sample test
Describe 'checking File Exists' {
it 'Should resolve to C:\WinOps.txt' {
{ Resolve-Path C:\WinOps.txt -ErrorAction Stop } | should not Throw
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment