James Truher
3ceca01b64
address some review feedback
2016-08-30 16:15:10 -07:00
James Truher
f4ed351f86
fix typos in test descriptions
2016-08-30 16:15:10 -07:00
James Truher
6aac4976fb
Add simple runspace debugging tests
2016-08-30 16:15:10 -07:00
James Truher
9c99bdbef9
Add new debugging tests which are based on existing earlier non-Pester tests
2016-08-30 16:15:10 -07:00
James Truher
d3a177d6ae
Add simple securestring conversion cmdlet tests
2016-08-30 16:15:10 -07:00
James Truher
52ba25be69
Add simple Enable-PSBreakpoint and Disable-PSBreakpoint cmdlet tests
2016-08-30 16:15:10 -07:00
James Truher
763fe2bdbf
fix missing ";" in Streams.Clear
2016-08-30 16:15:10 -07:00
James Truher
f6ae238641
quiet the start-process tests by redirecting all output
2016-08-30 16:15:10 -07:00
James Truher
01c495b5e6
Change Import-PowerShellDataFile tag to CI and simplify tests
2016-08-30 16:15:10 -07:00
James Truher
c610ea7941
Add Set-Date test
2016-08-30 16:15:10 -07:00
James Truher
e639240ecb
Add set-Date test
...
this one is a bit tricky, unless you're elevated you can't set the date
however, if you are not elevated you should get an error. This file
does one or the other based on whether you're elevated
2016-08-30 16:15:10 -07:00
James Truher
feae8e4b2d
add read-host tests
2016-08-30 16:15:10 -07:00
Jumping Yang[Wicresoft]
d59b322032
Add BooleanParameterDCR and Eventing Pester Test ( #2031 )
...
* Add BooleanParameterDCR and Eventing Pester Test
* Correct describe for Eventing Pester Test
* Add ProviderIntrinsics and Serialization Pester Test
2016-08-29 13:01:03 -04:00
Manikyam Bavandla
1e13d7897a
Update PowerShellGet to install the modules and scripts to proper locations in PowerShell Core on Windows ( #2078 )
...
* 1. Update PowerShellGet to install the modules and scripts to proper locations in PowerShell Core on Windows. 2. Added few CI tests for PowerShellGet
* Handling the scenario of FullCLR-based PowerShell on Windows.
2016-08-26 16:58:22 -07:00
Mike Richmond
18f3589d68
Fixing the path to the user's JSON configuration file
2016-08-23 15:45:49 -07:00
James Truher
9d1c998287
Filling test gaps (issue 2022) - this replaces PR 1834
...
This replaces PR 1834 from the private fork I had
2016-08-22 14:56:04 -07:00
Barry Nolte
890e80dd54
Getting tests to run from build directory with spaces in it ( #1981 )
...
* [build.psm1] - mc.exe input file needs quotes
For filenames that have spaces or paths to that file that have spaces, the input filename needs to have quotes around it.
* Quoted more paths so tests run from directories with spaces
Found a few locations where paths weren't qutoed or escaped with '& ...' that are needed to get tests to run from build directories with spaces in them.
2016-08-22 09:57:30 -04:00
James Truher
5644c4c54b
Create new test for Get-Credential which requires module to create a test host
2016-08-19 13:01:04 -07:00
Micah R Ledbetter
be186e833b
Correct link to Pester Do and Don't document
2016-08-19 11:29:50 -05:00
Jason Shirk
8b056776c0
Stop using 'Open PowerShell' and OPS in code ( #1838 )
2016-08-16 17:03:34 -07:00
Dongbo Wang
9ab60d6621
Fix the test that fails in Travis CI build ( #1792 )
2016-08-12 18:36:16 -07:00
Jason Shirk
e550b6920c
Merge pull request #1337 from PowerShell/TestGetCommand
...
Add Pester test for TestGetCommand.cs
2016-08-12 11:41:02 -07:00
Mike Richmond
539c59cc35
Merge pull request #1721 from PowerShell/dongbo/module-path
...
Address the side-by-side module path for OPS
2016-08-12 11:30:10 -07:00
Jason Shirk
22a1f0a8b7
Merge pull request #1676 from PowerShell/NullableBooleanDCR
...
Add NullableBooleanDCR Pester Test
2016-08-12 11:21:20 -07:00
Dongbo Wang
401b6194da
Address review comments in test code
2016-08-12 11:01:46 -07:00
TingLiu6
d0c62017a9
Add NullableBooleanDCR Pester Test
2016-08-12 00:21:28 -07:00
Dongbo Wang
23ed0e4fa2
Use capital 'PSMODULEPATH' in tests so that it works in unix
2016-08-11 21:45:20 -07:00
Dongbo Wang
8bb291896c
Change 'Platform.XDG_Type' and 'Platform.SelectProductNameForDirectory' back to 'public'
...
Add CI tests for the module path change
2016-08-11 21:45:20 -07:00
Dongbo Wang
753b202a75
Fix tests that were broken by the sxs module path change. Also fix some unreliable tests.
2016-08-11 21:45:20 -07:00
JumpingYang001
2d0d9765d9
Add Shell Interop Pester Test
2016-08-10 23:09:17 -07:00
Francisco Gamino
135af2089a
Updating tests to install the help content before running on Windows
2016-08-10 12:19:51 -07:00
Francisco Gamino
2b1dc87774
Adding Feature tag to help tests
2016-08-10 12:19:51 -07:00
Francisco Gamino
233e75657a
Breaking down help tests for CI and Feature test runs
2016-08-10 12:19:51 -07:00
Francisco Gamino
3ed7201e21
Fixing get-help on Linux
2016-08-10 12:19:51 -07:00
Andrew Schwartzmeyer
d59710d310
Remove unimplemented Management cmdlets from Unix
...
These are not currently implemented and so should not show up as
available.
The *-Computer cmdlets are already not compiled for Unix (and so not
available), so let's not declare them in the manifest.
The Get-ComputerInfo cmdlet does not work on Unix and so should not be
made available.
Test-Connection depends on an unavailable WMI provider.
Get/Set-TimeZone are not yet ported.
2016-08-09 18:54:05 -07:00
Andrew Schwartzmeyer
280bd651c1
Remove unimplemented Utility cmdlets from Unix
...
ConvertFrom-SddlString and Unblock-File are Windows-specific cmdlets
with no equivalent on Unix.
squash! Remove Unblock-File from Unix
2016-08-09 18:53:43 -07:00
Travis Plunk
3d3e67fd4e
Merge pull request #1641 from PowerShell/LanguagePrimitiveTest
...
Add Language Primitive Test
2016-08-09 12:14:02 -07:00
TingLiu6
c8e38ec506
Add Get-Command Pester Test
2016-08-08 20:19:11 -07:00
TingLiu6
a50114d5da
Add Language Primitive Pester Test
2016-08-08 19:39:06 -07:00
Andrew Schwartzmeyer
5bc34eb63c
Run Trace-Command tests on CI
2016-08-08 12:11:51 -07:00
Dongbo Wang
ba2cd1d2b7
Merge pull request #1669 from andschwa/safe-hostname
...
Safe hostname
2016-08-08 11:10:53 -07:00
Andrew Schwartzmeyer
a8416d7b30
Consolidate GetUserName code
...
Once .NET Core 1.1 becomes available, we can likely remove the entirety
of CorePsExtensions.cs.
2016-08-08 10:48:59 -07:00
Dongbo Wang
9a0436b856
Merge pull request #1661 from PowerShell/dongbo/get-pssession
...
Fix if/def guards to allow engine to load WsMan and Diagnostics snapins by default when RunspaceConfiguration is used to create a runspace
2016-08-05 13:00:06 -07:00
Dongbo Wang
dc9b326587
Fix issue #1609 - Get-PSSession -computername fails on nano
...
Root cause: Microsoft.WSMan.Management and Microsoft.PowerShell.Commands.Diagnostics are not put in the default snapin list for win-ops, and thus when a runspace is created using RunspaceConfiguration, those 2 are not loaded as snapins by default, which is a behavior change compared to Nano PS.
Fix: Replace the guard 'PORTABLE' to be 'UNIX' so that they are in the default snapin list when targeting windows platform.
2016-08-05 11:20:14 -07:00
Andrew Schwartzmeyer
09e1683098
Add Ubuntu 16.04 RID
2016-08-05 10:09:40 -07:00
TingLiu6
89d24fd8ba
Add ParameterBinding Pester Test
2016-08-04 19:50:35 -07:00
Jason Shirk
f15e66b283
Merge pull request #1633 from PowerShell/revert_psedition_namechange
...
Revert the changes made in #1457 . Desktop and Core are the PowerShell Edition names. Remove Linux as edition name.
2016-08-04 12:21:12 -07:00
John Kordich
ee7356e36e
Disabling unit tests for OSX
2016-08-04 10:47:41 -07:00
John Kordich
0c7cbc1667
Adding Import-Module to MOF-Compilation tests
2016-08-04 10:47:41 -07:00
John Kordich
e0fdf1ed00
Fixing up mof compilation test script to set PSMODULEPATH properly
2016-08-04 10:47:41 -07:00