Commit Graph
439 Commits
Author SHA1 Message Date
JumpingYang001 e13115ed78 Update fix based on comments for Measure-Object Pester Test 2016-05-31 22:04:50 -07:00
JumpingYang001 4df5303ac1 Update fix based on comments for Compare-Object Pester Test 2016-05-31 21:50:00 -07:00
JumpingYang001 ce2b3d0664 Update fix based on comments for New-Object Pester Test 2016-05-31 21:29:14 -07:00
JumpingYang001 20de9e0405 Update fix based on comments for Select-XML Pester Test 2016-05-31 21:25:22 -07:00
TingLiu6 89b7a6bd1f Add Unit Test For Tee-Object 2016-05-30 02:35:04 -07:00
JumpingYang001 bef1688f87 Add Select-XML Pester Unit Test 2016-05-30 01:33:31 -07:00
TingLiu6 23f843f76a Remove a invalid TC to Fix issue of Update-TypeData 2016-05-29 23:48:10 -07:00
JumpingYang001 9ed1d89978 Add NewObjectDRTTestsV2 Pester Unit Test 2016-05-29 23:21:36 -07:00
JumpingYang001 7551d33fc0 Add New-Object Pester Unit Test 2016-05-29 23:11:27 -07:00
TingLiu6 a48fef48e0 Update Get-Member Pester Test 2016-05-27 01:50:48 -07:00
TingLiu6 d35e861716 Add Unit Test for Get-Member 2016-05-26 20:44:56 -07:00
JumpingYang001 5a46c5e649 Add Compare-Object Pester Unit Test 2016-05-26 20:02:35 -07:00
Andrew Schwartzmeyer 05fc323762 Fix Remove-TypeData runspace isolation
Responding to PR review.
2016-05-26 10:36:22 -07:00
TingLiu6 0fa73fb375 Fixed issue on OSX 2016-05-24 23:01:22 -07:00
TingLiu6 df6e4c4a92 Remove Write-Debug Test 2016-05-24 20:19:48 -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
JumpingYang001 ef10c6c02d Add Measure-Object Pester Unit Test 2016-05-23 00:29:46 -07:00
TingLiu6 a9cbdf049d Add Unit Test for Import-Csv 2016-05-22 23:34:14 -07:00
Andrew Schwartzmeyer 4f8e30c10e Update xUnit tests to depend on powershell project 2016-05-20 16:06:31 -07:00
Andrew Schwartzmeyer dcaf231bde Update dotnet-test-xunit package 2016-05-20 16:06:31 -07:00
Andrew Schwartzmeyer 5349900c3b Use get-command instead of get-process in xUnit 2016-05-20 15:17:12 -07:00
TingLiu6 93e78e533a Added a V2 TC 2016-05-20 02:27:44 -07:00
TingLiu6 d7db0a6f70 Add Unit Test for Write-Host 2016-05-19 23:50:01 -07:00
TingLiu6 b96d207ea8 Fix the CR issues for Write command test 2016-05-19 23:50:01 -07:00
TingLiu6 97c00e6343 Add Unit Test For Write Command 2016-05-19 23:50:01 -07:00
JumpingYang001 0559fcd6e5 Update fix based on comment for Select-Object Pester Test 2016-05-19 21:47:03 -07:00
TingLiu6 c2479d38b4 Fixed CR Issues 2016-05-19 20:00:38 -07:00
TingLiu6 64b249d647 Fixed CR Issues 2016-05-19 19:37:49 -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) 777b2ec7d8 Merge remote-tracking branch 'origin/master' into jimtru-AddGitCommitToPSVersionTable 2016-05-18 17:07:39 -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 fcf4b38370 Rename PowerShellGitHubDev.psm1 to build.psm1 2016-05-18 13:58:59 -07:00
Andrew Schwartzmeyer 7675de8d74 Link Pester readme to Pester Do and Don't 2016-05-18 10:08:05 -07:00
TingLiu6 b4b2f35e21 Add Unit Test for Export-Csv 2016-05-18 02:02:36 -07:00
JumpingYang001 9b7b14ae2e Add SelectObjectV2DRT Pester Unit Test 2016-05-18 01:25:22 -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