Andrew Schwartzmeyer
05fc323762
Fix Remove-TypeData runspace isolation
...
Responding to PR review.
2016-05-26 10:36:22 -07:00
Andrew Schwartzmeyer
f13f5afd23
Isolate Remove-TypeData tests with runspace
2016-05-24 11:51:58 -07:00
Jim Truher (MSFT)
b8b41397de
modified update-typedata.tests for better isolation
...
similar changes here as found in update-formatdata. Run each test in it's own
PowerShell/Runspace instance which will protect the default runspace from
destructive changes
2016-05-23 16:49:35 -07:00
Jim Truher (MSFT)
b8c9578e5b
modify updateformatdata tests to use runspace to isolate format changes.
...
This should be the pattern for any test which mainupulates current state
to protect from unintended side effects. This was done by default in ttest
because each test would have its own runspace
2016-05-23 15:04:13 -07:00
Jason Shirk
cf7f46e1b8
Merge pull request #918 from PowerShell/UpdateTypeDataPesterTest
...
Add Update-TypeData and Update-FormatData Pester Unit Test
2016-05-23 13:27:18 -07:00
James Truher [MSFT]
b118b76446
Merge pull request #978 from PowerShell/ConverttoCSVDRT
...
Add Unit Test for ConvertTo-Csv
thanks for updating
2016-05-19 15:24:30 -07:00
James Truher [MSFT]
51d5491c54
Merge pull request #1009 from PowerShell/jimtru-psversion2
...
update PSVersionTable code to use powershell.version rather than .version…
2016-05-19 15:20:16 -07:00
Andrew Schwartzmeyer
1e24e76200
Mark ConsoleHost tests as slow
2016-05-19 14:28:43 -07:00
James Truher
8583cf5e96
update PSVersionTable code to use powershell.version rather than .version because on Linux the .version file doesn't seem to be binplaced. I postulate this is because it's a hidden file
2016-05-19 13:19:16 -07:00
Andrew Schwartzmeyer
ee582d42d5
Add regression test for CallDepthOverflow
2016-05-19 10:48:02 -07:00
Jim Truher (MSFT)
cfd5bded5b
add functionality to PSVersionTable to include GitCommitID and update tests
2016-05-18 15:35:09 -07:00
Andrew Schwartzmeyer
7675de8d74
Link Pester readme to Pester Do and Don't
2016-05-18 10:08:05 -07:00
Andrew Schwartzmeyer
7e65fa448e
Mark as pending Travis CI OS X failing tests
...
These tests *do not* fail locally, nor on the Linux test runner. They do
not fail when accessing the OS X runner under debug mode. The *only*
cause is the lack of a TTY on the OS X runner, which is a Travis CI
regression. Moreover, the formatting tests do not fail when the TTY is
removed locally.
These absolutely should be fixed at some point, but it is not worth
spending any more time on it.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
d1c2a2c896
Disable Set-PSDebug tests on AppVeyor
...
These pass locally, just not with AppVeyor's host.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
2712cead34
Use Pending for tests that shouldn't be Skipped
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
fe5328006d
Fix Import-Alias tests
2016-05-17 13:28:44 -07:00
Andy Schwartzmeyer
2fdf48165a
Clean up Set-PSDebug tests
2016-05-17 13:28:44 -07:00
Andy Schwartzmeyer
6cd7804fb0
Mark redirected input test as pending on Windows
...
While this passes on Linux, it does not pass on Windows, indicating a
platform-specific bug in .NET Core.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
6d7b6a10f6
Skip complex prompting tests
...
Not supported with non-PSReadLine Open PowerShell host.
2016-05-17 13:28:44 -07:00
Jason Shirk
8c97fd16cd
Add ConsoleHost tests
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
c3eaf9a77e
Mark as pending tests not working with ConsoleHost
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
5c0d17e3a2
Update ConsoleHost tests
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
dca17ac0f7
Migrate ConsoleHost tests
2016-05-17 13:28:44 -07:00
JumpingYang001
fb02fd76a6
Update ErrorAction from SilentlyContinue to Ignore for remove-item in Update-TypeData Pester test
2016-05-16 20:17:41 -07:00
JumpingYang001
3d6dae89a1
Update fixes based on lzybkr comments for Update-TypeData Pester Test
2016-05-16 19:52:47 -07:00
TingLiu6
10144d7c55
Fixed the CR issue
2016-05-16 19:52:47 -07:00
TingLiu6
dbd2a8f1b1
Fix the CR issue for Update-TypeData
2016-05-16 19:52:47 -07:00
JumpingYang001
c715e42f0f
Update fixes based on comments for Update-TypeData Pester Test
2016-05-16 19:52:47 -07:00
JumpingYang001
97ded9ca80
Add Update-TypeData and Update-FormatData Pester Unit Test
2016-05-16 19:52:47 -07:00
TingLiu6
732b842f8b
Fix CR Issues
2016-05-16 19:40:31 -07:00
Andy Schwartzmeyer
ad18c631b4
Merge pull request #970 from PowerShell/ConvertFromCsvDRTTests
...
Add Unit Test for ConvertFrom-Csv
2016-05-16 10:43:11 -07:00
Andy Schwartzmeyer
2b335d8442
Merge pull request #969 from PowerShell/ExportFormatDataCommandTests
...
Add Unit Test for Export-FormatData
2016-05-16 10:42:27 -07:00
Andy Schwartzmeyer
29ebef64d4
Merge pull request #967 from PowerShell/RemoveTypeDataCommandTest
...
Add Unit Test for Remove-TypeData
2016-05-16 10:41:12 -07:00
TingLiu6
2080920a64
Add Unit Test for ConvertTo-Csv
2016-05-16 00:36:59 -07:00
TingLiu6
c4beeb9f62
Fixed CR issues
2016-05-12 21:51:55 -07:00
TingLiu6
a9f6c90acc
Fixed CR issues
2016-05-12 21:46:34 -07:00
TingLiu6
3360035d29
Add Unit Test for ConvertFrom-Csv
2016-05-12 01:42:15 -07:00
TingLiu6
f0de4321c8
Add Unit Test for Export-FormatData
2016-05-11 23:29:15 -07:00
TingLiu6
cd871b97a3
Fixed CR issues for Remove-TypeData
2016-05-11 19:46:56 -07:00
TingLiu6
0b97247cbf
Add Unit Test for Remove-TypeData
2016-05-10 02:57:01 -07:00
Andy Schwartzmeyer
3897635a8a
Merge pull request #965 from PowerShell/NewTimeSpanPesterTest
...
Add Unit Test for New-TimeSpan
2016-05-09 10:57:47 -07:00
Dicey Dai
e7092ba393
Add Unit Test for New-TimeSpan
2016-05-08 21:45:04 -07:00
Ting Liu [Wicresoft]
9bf21a7460
Merge branch 'master' into GroupObjectTests
2016-05-07 17:38:16 +08:00
TingLiu6
7aa80eeb55
Add Unit Test for Group-Object
2016-05-07 02:24:08 -07:00
Andy Schwartzmeyer
ce7e96d7fa
Merge pull request #955 from PowerShell/ConvertFromStringDataTest
...
Add Unit Test for ConvertFrom-StringData
2016-05-06 10:02:23 -07:00
Andy Schwartzmeyer
649cfb4c10
Merge pull request #933 from PowerShell/FormatCustomListWidePesterTest
...
Add Format-Custom,Format-List,Format-Wide Pester Test
2016-05-06 10:00:12 -07:00
Andy Schwartzmeyer
77168c9f18
Merge pull request #908 from PowerShell/GetUniqueTests
...
Add Unit Test for Get-Unique
2016-05-06 09:57:01 -07:00
TingLiu6
e3603e3bf3
Add Unit Test for ConvertFrom-StringData
2016-05-06 04:09:57 -07:00
TingLiu6
187013985a
Fix the CR issue for Get-Unique
2016-05-05 14:14:39 -07:00
TingLiu6
14231c96e7
Add Unit Test for Get-Unique
2016-05-05 14:14:39 -07:00