Jason Shirk
02b5f357a2
Remove trailing whitespace ( #3001 )
2017-01-16 13:31:14 -08:00
2xmax
1ccd155917
fixed some expected exception tests according to the template 611f7f9b77/docs/testing-guidelines/WritingPesterTests.md (L54)
2017-01-05 18:23:37 -08:00
Sergei Vorobev
9cc905dea4
Add verbose comment about the execution policy test
...
'-Scope LocalMachine is Settable, but overridden'
2016-09-29 16:06:42 -07:00
Sergei Vorobev
735bcca4d0
Allow ExecutionPolicy tests to throw specific type of error
...
Split LocalMachine test case into two separate tests:
- One without overriden policy (throws exception)
- One with overriden policy
2016-09-29 12:29:27 -07:00
Sergei Vorobev
a1ee6d840d
Make ExecutionPolicy.Tests.ps1 admin-aware
2016-09-29 12:29:27 -07:00
Mike Richmond
adf6250175
Moving ExecutionPolicy tests to Microsoft.PowerShell.Security and refactoring test skipping for Windows.
2016-09-28 10:55:50 -07:00
James Truher
9e225ccae2
changes tags for tests
...
Start using tags CI, Feature, Scenario
2016-07-27 12:06:51 -07:00
Andrew Schwartzmeyer
e6c037c666
Remove Platform.HasExecutionPolicy query
...
Also change Get-ExecutionPolicy to not throw, but to return
Unrestricted (which is the effect of the actual policy).
2016-07-14 17:34:12 -07:00
James Truher
1e1c4b7dc0
Restructure of pester test layout
...
This restructuring moves tests to a directory name which matches the module
in which the cmdlet resides which should improve the discoverability of a
specific test.
For tests which are not about cmdlets in a module, new directories have been
created to make those tests easier to find as well
2016-06-29 12:05:41 -07:00