Commit Graph
442 Commits
Author SHA1 Message Date
PowerShell Team 3575eac7b3 fix typo in archive test name
it needs to have the correct name in order to be executed by invoke-pester
2016-08-02 12:05:24 -07:00
PowerShell Team ce4303b873 migrated tests run clean on all platforms (locally) 2016-08-02 12:05:24 -07:00
PowerShell Team 0261372bae remove scheduled job tests 2016-08-02 12:05:24 -07:00
PowerShell Team 43eae99276 remove scheduledjob cmdlet tests 2016-08-02 12:05:24 -07:00
PowerShell Team 7305b82b73 Add migrated files 2016-08-02 12:05:24 -07:00
PowerShell Team 721ad34c62 add missing sample archive file 2016-08-02 12:05:24 -07:00
PowerShell Team 28a06155c8 add map.json file for migration of Pester cmdlet tests 2016-08-02 12:05:24 -07:00
JumpingYang001 86bf00e48b Add Adapter Pester Unit Test 2016-08-02 00:31:27 -07:00
Sergei Vorobev 5690b1a0d9 Add tests for Error stream 2016-08-01 18:40:51 -07:00
Jason Shirk 0513425ff9 Merge pull request #1566 from PowerShell/andschwa/chars
Fix PSReadLine custom key binding on Linux
2016-07-29 09:10:10 -07:00
Andrew Schwartzmeyer 9cc6673b27 Add regression tests for custom key bindings
Also tests capitalized key bindings, hence the need to compare case
sensitively.
2016-07-28 22:41:04 -07:00
Sergei Vorobev dac906db3d Skip $input type test per #1563 2016-07-28 18:02:24 -07:00
Sergei Vorobev a704a53f08 Make Get-Item env: case-aware on Unix
Fix #1196
2016-07-28 14:19:36 -07:00
Sergei Vorobev d591871b2c Add CI tag to SemanticVersion.Tests.ps1 2016-07-27 18:54:40 -07:00
Sergei Vorobev 06252836ea Make 'cd' go to the HOME directory 2016-07-27 18:43:19 -07:00
Sergei Vorobev aa72512c76 Merge pull request #1523 from lzybkr/semver
Semver
2016-07-27 18:35:12 -07:00
James Truher fa1b386a08 make sure that all tests are using the proper $IsCoreCLR variable instead of $IsCore 2016-07-27 12:32:17 -07:00
James Truher ac8238075d mark the add-type tests as pending for $IsCore 2016-07-27 12:14:08 -07:00
James Truher f0233a8d20 fix bad tag to check tag checking 2016-07-27 12:06:51 -07:00
James Truher 0b61bb6464 purposefully create a bad tag to test tag checks for build 2016-07-27 12:06:51 -07:00
James Truher 5e61213be9 update appveyor.yml to check for bad test tags
add the function to check tags to build.psm1
rename the parser tests so they actually execute
2016-07-27 12:06:51 -07:00
James Truher 456bc4da6b marked some package tests as feature rather than CI 2016-07-27 12:06:51 -07:00
James Truher 1b9565ae89 add tags to describe blocks that didn't have any tags 2016-07-27 12:06:51 -07:00
James Truher a784149b36 all tests are now marked with proper tag
also, update build.psm1 to be more flexible
2016-07-27 12:06:51 -07:00
James Truher 9e225ccae2 changes tags for tests
Start using tags CI, Feature, Scenario
2016-07-27 12:06:51 -07:00
Jason Shirk (POWERSHELL) 8e8ade947d Add SemanticVersion tests 2016-07-27 10:53:11 -07:00
Sergei Vorobev d8a040ca99 Add test for Add-Type System.Runtime.Serialization.Primitives.dll TPA 2016-07-26 17:53:52 -07:00
Sergei Vorobev 3fd885ef2d Add-Type: add mscorlib.dll to the list of default references
Fix #1361
On CoreCLR 1.0.0 RTM the layout changed compare to RC2.
This change accounts for it.
This change also cleans up some left-overs for SecureString ref.
2016-07-26 17:45:49 -07:00
Sergei Vorobev 52569380c7 Merge pull request #1519 from PowerShell/vors/json
Fix ConvertFrom-Json to handle mutlilines
2016-07-26 14:37:36 -07:00
Andrew Schwartzmeyer 41173a3b65 Rename IsCore to IsCoreCLR 2016-07-26 11:54:08 -07:00
Sergei Vorobev 3240a2d369 Fix ConvertFrom-Json to handle mutlilines
Fix #956

Add Newtonsoft.Json.JsonSerializationException to catch block
that determines which mode to use: single-string or multi-string
2016-07-26 11:11:44 -07:00
Francisco Gamino 42105138a7 Adding WebCmdlets tests 2016-07-24 16:20:46 -07:00
Andy Schwartzmeyer 5cec5f1b04 Merge pull request #1487 from PowerShell/andschwa/convert-utf
Convert UTF-16 files to UTF-8
2016-07-22 14:44:29 -07:00
PowerShell Team 165f2a86c3 Convert UTF-16 files to UTF-8 2016-07-22 13:54:34 -07:00
Sergei Vorobev 4c78fc5e7f Scope ExecutionPolicy tests to Process
Allow it run without admin escalation
2016-07-22 12:58:50 -07:00
Manikyam Bavandla 66f0b83e89 Merge branch 'master' into psedition_rename 2016-07-21 12:16:38 -07:00
Manikyam Bavandla 2a67fd8ec5 Updating the "Should have the correct edition" test
Updating the "Should have the correct edition" test
2016-07-21 12:16:16 -07:00
James Truher [MSFT] a6072c4576 Merge pull request #1447 from PowerShell/jameswtruher/LanguageTestMigration
language pester test migration - woo - adding 800 more tests
2016-07-20 18:29:56 -07:00
Travis Plunk 88973bfd14 Merge pull request #1439 from PowerShell/FixMaster
Changed Find-Package test to 'SLOW' to fix master
2016-07-20 18:28:05 -07:00
James Truher [MSFT] c2364b6e26 Merge pull request #1404 from PowerShell/ParsePesterUnitTest
Add remain part of Parser Pester Unit Test
2016-07-20 18:19:10 -07:00
Travis Plunk cd9ddb156d Used method from PR comments to find powershell
replaced dir with get-childitem
used appropriate path when importing pester
verified failure count was 0
split test case verification into individual it's so we get all the info.
2016-07-20 16:28:33 -07:00
Travis Plunk 6fea33379d made powershell invoke compatible with linux 2016-07-20 16:28:33 -07:00
Travis Plunk 441b105fd8 Made the test run in new powershell
Ran the test with the same filter
Imported the result
cleaned up the test run
2016-07-20 16:28:33 -07:00
Travis Plunk ffe0a250a9 Changed Find-Package test to 'SLOW' 2016-07-20 16:28:32 -07:00
James Truher 84041fb37d fix Get-PSBreakpoint test to not require 0 as the breakpoint id
Essentially, other tests may set breakpoints and the Id is ever
increasing, so a test for Id 0 will only be true if this is the
first time a breakpoint has been set in this session
2016-07-20 12:54:59 -07:00
James Truher b680b48160 tests now run clean on Windows and Linux 2016-07-20 12:10:12 -07:00
PowerShell Team 2674564542 Language tests now run clean on Linux 2016-07-20 12:10:12 -07:00
PowerShell Team cb08681a55 Add new test files to Language directory 2016-07-20 12:10:12 -07:00
PowerShell Team 395657e33c fixed up incorrect cases 2016-07-20 12:10:12 -07:00
PowerShell Team 7048f370bd Add map.json for language test migration 2016-07-20 12:10:12 -07:00