Commit Graph
185 Commits
Author SHA1 Message Date
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
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 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
TingLiu6 3437566ebd Fix the CR issues for Get-Random 2016-05-05 14:13:55 -07:00
TingLiu6 d9ffecc360 Fix the CR issue for Get-Random 2016-05-05 14:13:55 -07:00
TingLiu6 01af13ce37 Fix the issue of CR for Get-Random 2016-05-05 14:13:55 -07:00
TingLiu6 5d91a8164f Add Unit Test for Get-Random 2016-05-05 14:13:55 -07:00
Bryce Milton fd4389a643 Merge pull request #941 from PowerShell/BryceM-dev
Porting TTests from psl-monad Management DRTs
2016-05-04 17:24:48 -07:00
Bryce Milton eeb92da5c7 removing debug code 2016-05-04 17:10:16 -07:00
Bryce Milton e9606484da Incorporating feedback from code-review 2016-05-04 17:09:01 -07:00
Andrew Schwartzmeyer da2d6bfc80 Add PSReadLine regression tests 2016-05-04 16:27:51 -07:00
Andrew Schwartzmeyer 4619d0d7ba Add tests for cmdlet example 2016-05-04 12:13:00 -07:00
JumpingYang001 b1328d144b Update Format-Custom,Format-List,Format-Wide Pester Test 2016-05-02 20:14:57 -07:00
Bryce Milton 0eacf59dae Porting TTests from psl-monad Management DRTs
https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/ClearEventLogDRT.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/CombinePathCommandTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/ContentCommandTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/ConvertPathCommandTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/DebugProcessDRT.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/EventlogCommandTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/GetEventLogDRTTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/GetHotFixDRTTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/GetProcessDRTTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/GetProviderCommandTest.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/GetServiceV2DRT.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/GetWMIObjectTest.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/InvokeWMIMethodTest.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/LimitEventLogDRT.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/NavigationTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/NewEventLogDRT.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/ParsePathCommandTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/PingComputerDRT.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/PingPathCommandTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/ProcessCommandTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/ProcessTaskTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/PropertyCommandTests.cs

https://github.com/PowerShell/psl-monad/monad/tests/monad/DRT/commands/management/UnitTests/RemoveEventLogDRTTests.cs
2016-05-02 18:42:23 -07:00
JumpingYang001 506ae5d899 Add Format-Custom,Format-List,Format-Wide Pester Test 2016-04-29 03:10:09 -07:00
Jason Shirk a7ba3395b9 Merge pull request #901 from PowerShell/FormatTablePesterUnitTest
Add Format-Table Pester Unit Test
2016-04-28 13:03:11 -07:00
Jason Shirk 962aeed560 Merge pull request #909 from PowerShell/WriteProgressTests
Add Unit Test for Write-Progress
2016-04-27 17:20:01 -07:00
JumpingYang001 2b42021b3f Add Format-Table Pester Unit Test 2016-04-25 20:16:25 -07:00
Andrew Schwartzmeyer 53bfc80b56 Fix Pester tests
The `Get-Process` cmdlet cannot be used for these types of tests due to
security constraints on OS X.

These tests are about to be re-written soon anyway, so the simple fix
was to use another cmdlet.
2016-04-25 15:27:24 -07:00
TingLiu6 2980014463 Add Unit Test for Write-Progress 2016-04-25 02:10:17 -07:00
Sergei Vorobev f424f127f3 Merge pull request #873 from PowerShell/RemoveVariablePesterUnitTest
Add Remove-Variable Pester Unit Test
2016-04-24 23:33:09 -07:00
JumpingYang001 99c197cc7d Add Remove-Variable Pester Test 2016-04-24 22:33:29 -07:00