Commit graph

239 commits

Author SHA1 Message Date
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
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
7f9052c1c6 Remove platform tests
This is pointless to test as the .NET Code better be correct, or we have
worse problems.
2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
7c80035d35 Skip xUnit tests not yet ported to OS X 2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
0012fa90d6 Remove deprecated Listener tests 2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
4234b3db73 Remove CoreConsoleHost from xUnit tests 2016-05-17 13:28:44 -07:00
Andrew Schwartzmeyer
658f3e0d48 Update xUnit project to use 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
52de677068 Merge pull request #949 from PowerShell/native
remove dependency on native GetHostname
2016-05-06 10:01:40 -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
George Fleming
1b97c954ea remove dependency on native GetHostname 2016-05-05 09:08:06 -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
2af90428ed Update dotnet-test-xunit package 2016-05-04 13:43:52 -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