Manikyam Bavandla
eacfd9418c
Revert "Merge pull request #1458 from PowerShell/psedition_rename"
...
This reverts commit 042d1e99bb
, reversing
changes made to 105bf9c9ff
.
2016-08-03 15:53:31 -07:00
Jason Shirk
31b3d13e10
Merge pull request #1623 from PowerShell/jimtru/PSDriveFreeSpaceFix
...
Get-PSDrive should report proper free space on all platforms
2016-08-03 14:11:28 -07:00
Jason Shirk (POWERSHELL)
420155517a
Add serialization test of SemanticVersion
2016-08-03 13:21:42 -07:00
James Truher
1bbdaa7ea8
Change free/used calculation to be consistent across platforms
...
add a couple of tests to validate return values
2016-08-03 10:38:26 -07:00
Sergei Vorobev
b654b7d4b1
Merge pull request #1501 from PowerShell/jameswtruher/CmdletTestMigration
...
Jameswtruher/cmdlet test migration
2016-08-02 14:09:10 -07:00
James Truher
6a07b71ba6
update tests to include $IsCoreCLR rather than $IsCore
...
also fix archive test to be sure it gets the proper archive module (not the one that's somewhere in the filesystem)
2016-08-02 12:50:24 -07:00
Jason Shirk
cfba7537f3
Merge pull request #1599 from PowerShell/error-stream
...
Error stream
2016-08-02 12:15:13 -07:00
James Truher
0a18a46281
Update json tests to be more cross-plat and handle multiple invocations
...
only create the enumtest type if it doesn't exist
don't try to compare line endings on json tests which contain arrays,
formatting of the output need not be validated
2016-08-02 12:05:24 -07:00
James Truher
dd0291be09
update encoding on the test files - these are ascii
2016-08-02 12:05:24 -07:00
James Truher
7b836f99f5
create work-around for MacOS in handling wildcards
2016-08-02 12:05:24 -07:00
James Truher
0f60b69af4
Fix Get-Command tests to better handle non-Windows platforms.
...
set executable bit on Linux/MacOS as that's what determines whether something
is executable. Also simplify partial path creation, only remove up to the first
colon, so those filesystems which have a single root are treated properly
2016-08-02 12:05:24 -07:00
James Truher
96a81c626c
rename test files so they match map.json and can be found by invoke-pester
2016-08-02 12:05:24 -07:00
PowerShell Team
1d11f67376
fix two more file copy targets
...
they weren't being recognized as pester tests because they didn't have the right name
2016-08-02 12:05:24 -07:00
James Truher
176f9fb6bd
rename archive test file so it may be found by invoke-pester
2016-08-02 12:05:24 -07:00
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
Dongbo Wang
14433e6b1f
Update project.json files to keep sync with the new MMI nuget package
2016-07-28 17:07:57 -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
Sergei Vorobev
875402ad53
Create separate Top-level directory per platform
...
- Replace src\powershell top level project by two
new root-level projects:
- src\powershell-unix
- src\powershell-windows
- Break src\Modules into more granular structure:
- Shared
- Windows+Unix-Core
- Windows-Core
- Windows-Core+Full
- Windows-Full
- To be created: Unix-Core. We will do it as a separate PR
- Fix #1122 : Platform-specific set of Modules (and assemblies)
- Fix Start-TypeGen to work with new top level folders layout
2016-07-22 16:11:29 -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 MSFT
042d1e99bb
Merge pull request #1458 from PowerShell/psedition_rename
...
Rename Desktop & Core PSEditions to WindowsPowerShell & PowerShellCore
2016-07-21 15:29:00 -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
Andrew Schwartzmeyer
c9c3e0b9be
Remove managed CommandLineToArgv
...
It is entirely unused.
2016-07-21 10:39: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
Andrew Schwartzmeyer
a51b8d500b
Mark feed dependent NuGet tests as pending
...
The feed/credential combo has stopped working, breaking all CI runs.
2016-07-19 15:30:23 -07:00
Andrew Schwartzmeyer
f9ed7e84fb
Mark failed NuGet test as pending
...
Once the clean-up stage on Linux / OS X was fixed, this test stopped
passing. This test should be fixed.
2016-07-19 15:12:12 -07:00
Andrew Schwartzmeyer
472947bf76
Fix use of rm alias in tests
...
This is not an alias on Linux / OS X.
2016-07-19 15:12:12 -07:00
JumpingYang001
243142693f
Add remain part of Parser Pester Unit Test
2016-07-18 02:16:19 -07:00
Jason Shirk
5a1432e234
Merge pull request #1388 from PowerShell/andschwa/default-editmode
...
Use Emacs as DefaultEditMode on Linux / OS X
2016-07-15 15:57:58 -07:00
Andrew Schwartzmeyer
b745d75f1b
Test PSReadLine's DefaultEditMode and bindings
2016-07-15 13:43:29 -07:00
Sergei Vorobev
736eaade3c
Add CimCmdlets module in the produced package of core modules
2016-07-15 13:25:38 -07:00
Andy Schwartzmeyer
cec82d3cd6
Merge pull request #1384 from PowerShell/andschwa/platform-cleanup
...
Platform cleanup
2016-07-15 11:17:15 -07:00
JumpingYang001
f2f9becbba
Fix comments for Parser Pester Test Part 2
2016-07-14 19:48:53 -07:00
JumpingYang001
98d9599b57
Fix comments and add Parser Pester Test Part 2
2016-07-14 19:48:52 -07:00
JumpingYang001
368b6a5c6c
Add Parser Pester Test Part 1
2016-07-14 19:48:52 -07:00
Andrew Schwartzmeyer
32e0a7dcaa
Format New-Item.Tests.ps1
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
e6c037c666
Remove Platform.HasExecutionPolicy query
...
Also change Get-ExecutionPolicy to not throw, but to return
Unrestricted (which is the effect of the actual policy).
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
73a1a51f69
Remove Platform.HasRegistry query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
c2cd059aa8
Remove Platform.HasDriveAutoMounting query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
c9a4197af1
Remove Platform.HasAmsi query
2016-07-14 17:34:12 -07:00
Andrew Schwartzmeyer
46cfa26812
Remove Platform.HasCom query
2016-07-14 17:34:12 -07:00
Sergei Vorobev
6c087155a7
Update PowerShellGithubDev.Tests.ps1
2016-07-14 13:46:29 -07:00
Quoc Truong
ac7bed909e
Merge pull request #1359 from PowerShell/quoct/onegettest
...
Enable test for PackageManagement on CorePowerShell
2016-07-14 13:26:01 -07:00
Quoc Truong
d7309a2435
Remove test that calls powershell
2016-07-14 09:56:35 -07:00
Quoc Truong
24eaf67917
Remove install contoso credential test
2016-07-13 16:36:29 -07:00
Quoc Truong
6338d8c33a
Remove scope test for install-package in nuget.tests.ps1
2016-07-13 15:58:05 -07:00
Andrew Schwartzmeyer
6f938bd860
Add regression test for Get-Process -IncludeUserName
2016-07-13 15:46:25 -07:00
Quoc Truong
67bc478695
Fix test failure for Install-PackageProvider.tests.ps1 on Windows
2016-07-13 15:39:52 -07:00
Andy Schwartzmeyer
a39beee33d
Merge pull request #1264 from PowerShell/childitem
...
Fixing symlink to use absolute paths instead of relative
2016-07-13 12:57:26 -07:00
quoctruong91
a041c44c5b
Fix a test failure where path name is not in the correct case
2016-07-13 01:34:38 -07:00
quoctruong91
8253bb9b85
Fix NuGet.tests.ps1 failure
2016-07-13 01:09:47 -07:00
quoctruong91
987faf03a7
Remove test that requires installing packages that has dependencies
2016-07-13 00:34:43 -07:00
quoctruong91
50c3e5bfc8
Fix Install PackageProvider failure because we are not running on administrator
2016-07-12 21:17:11 -07:00
Quoc Truong
c978927947
Fix Nuget tests
2016-07-12 21:17:11 -07:00
Quoc Truong
85955352fe
Fix test failures for PackageManagement
2016-07-12 21:17:11 -07:00
PowerShell Team
55b8cd1da6
Import source-depot tests for PackageManagement
2016-07-12 21:17:11 -07:00
Quoc Truong
cdb9a96d9d
Edit map.json to add in PackageManagement tests
2016-07-12 21:17:11 -07:00
Alex Jordan
90defe681d
Changing childitem to cope with regex
2016-07-12 15:58:21 -07:00
Alex Jordan
7c6a0ce2f1
New-Item tests to use Should Match
2016-07-11 22:22:45 -07:00
Alex Jordan
4a4df0f080
Editing for OSX passing symbolic links
2016-07-11 20:56:34 -07:00
Travis Plunk
5669e14dff
Ported Execution policy tests
...
Made a fix to store data on testdrive instead of system drive
Made a note of where the tests where ported from
Skipped entire test file on non-windows machines
2016-07-11 18:54:34 -07:00
Andy Schwartzmeyer
43f07425e9
Merge pull request #1283 from PowerShell/andschwa/readlinesafe
...
Implement ReadLineSafe for Linux
2016-07-08 17:02:49 -07:00
Jason Shirk
5e1cbe0e5d
Merge pull request #1328 from PowerShell/dongbo/type-completion
...
Fix issue #682 - [system.manage<Tab>] doesn't work
2016-07-08 16:16:32 -07:00
Andrew Schwartzmeyer
332397e955
Bump expect timeout for slow CI systems
2016-07-08 14:28:49 -07:00
Dongbo Wang
81b92583e1
Fix #682 - [system.manage<Tab>] doesn't work
2016-07-08 14:18:20 -07:00
Andrew Schwartzmeyer
50e6627a8e
Throw PlatformNotSupported on Windows .NET Core build
2016-07-08 14:08:22 -07:00
Andrew Schwartzmeyer
8d23dad0ab
Add Read-Host regression test
2016-07-08 13:48:51 -07:00
Andrew Schwartzmeyer
9a7199b05b
Enable Invoke-Item test for Windows
2016-07-08 13:48:36 -07:00
Dongbo Wang
2f9be46eac
Merge pull request #1285 from PowerShell/dongbo/miss-files-ops
...
Add back missing files for OPS
2016-07-06 16:54:16 -07:00
Dongbo Wang
731797c9e6
Add map.json file under the 'test' folder to track the tests that were moved
2016-07-06 15:56:47 -07:00
PowerShell Team
df15348557
Merge Get-TimeZone.Tests.ps1 and Set-TimeZone.Tests.ps1 to TimeZone.Tests.ps1
2016-07-06 15:52:18 -07:00
Dongbo Wang
c1d9316a3c
Disable 3 FileCatalog tests. They fail in CoreCLR OPS on AppVeyor build VM (Windows Server 2012R2), though they always pass on Windows 10
2016-07-06 15:08:51 -07:00
Dongbo Wang
c502b31509
Exclude the TimeZone/Computer/FileCatalog cmdlets for Linux. They use windows specific Win32 APIs
2016-07-06 13:04:51 -07:00
PowerShell Team
45791aa030
Add tests for TimeZone cmdlets and FileCatalog cmdlets [SD:717473]
2016-07-06 13:04:32 -07:00
Alex Jordan
946280b4f3
Removing extra invokeitem test
2016-07-05 18:05:56 -07:00
Jason Shirk
9a6655c147
Merge pull request #1246 from PowerShell/andschwa/guard-rawui
...
Guard RawUI when TTY is non-existent
2016-07-01 17:20:03 -07:00
Andrew Schwartzmeyer
25e2316345
Fix Console-Host tests
...
Update tests from Source Depot and run everywhere.
2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer
2dd01a9d31
Fix Write-Host tests
...
These were not testing the development build of PowerShell.
2016-07-01 14:36:15 -07:00
Andrew Schwartzmeyer
fe56aaafa7
Re-enable tests on OS X
2016-07-01 14:36:15 -07:00
Sergei Vorobev
c01ee38d5e
Speed-up CimCmdlets FullCLR test
2016-07-01 12:20:48 -07:00
Sergei Vorobev
777ba09bce
Add a simple test for Get-WinEvent on windows (Core + Full)
2016-07-01 12:20:48 -07:00
Andy Schwartzmeyer
b7f33f6822
Merge pull request #1255 from PowerShell/jasonsh/measure-object-fix
...
Fix Measure-Object -Property w/ wildcards
2016-07-01 10:25:11 -07:00
Jason Shirk (POWERSHELL)
dc1d672a86
Fix Measure-Object -Property w/ wildcards
...
Fixes #1215
2016-06-30 18:16:37 -07:00
Jason Shirk (POWERSHELL)
bfc5b7e836
Revert Unix specific Split-Path -Qualifier code
...
The -Qualifier code for Split-Path made some incorrect assumptions:
* That a path only referred to the file system
* That drives cannot be used on Unix systems
These assumptions were both wrong, so I've reverted the change so we
do not have any Unix specific code in Split-Path now.
Fixes #1176
2016-06-29 14:12:29 -07:00
Alex Jordan
7bc1bffdca
Adding isWindows to invoke item test and new test location
2016-06-29 13:56:46 -07:00
Alex Jordan
7cac07f31c
Adding pending to invokeitem tests due to windows bug
2016-06-29 12:32:46 -07:00
James Truher
1e1c4b7dc0
Restructure of pester test layout
...
This restructuring moves tests to a directory name which matches the module
in which the cmdlet resides which should improve the discoverability of a
specific test.
For tests which are not about cmdlets in a module, new directories have been
created to make those tests easier to find as well
2016-06-29 12:05:41 -07:00
Alex Jordan
65f31c06bb
Adding Invoke-Item tests
2016-06-29 10:52:56 -07:00
Alex Jordan
61a6713f4c
Invoke-Item tests added
2016-06-29 10:52:56 -07:00
Andrew Schwartzmeyer
4086644de7
Disable JIT cache tests
...
This test fails since we've disabled the JIT cache entirely.
2016-06-28 20:08:11 -07:00
Sergei Vorobev
934cda2d7d
Add test for CimCmdlets module
2016-06-28 16:19:15 -07:00
Sergei Vorobev
56599d3514
Add tests for PSWorkflow and PSWorkflowUtility
2016-06-28 16:08:33 -07:00
Sergei Vorobev
055185440d
Merge pull request #1226 from PowerShell/vors/build
...
Add simple test for non-empty workflow, make it work
2016-06-28 14:54:07 -07:00
Andy Schwartzmeyer
b294a46d2e
Merge pull request #1210 from PowerShell/andschwa/rtm
...
Update PowerShell to use .NET Core 1.0
2016-06-28 14:37:20 -07:00
Sergei Vorobev
c4f268f7cd
Add simple test for non-empty workflow, make it work
2016-06-28 12:59:25 -07:00
Sergei Vorobev
e647549d0d
Exclude Microsoft.WSMan.Management from the list of default snapins
...
Fix #1180
2016-06-28 12:14:18 -07:00
Andrew Schwartzmeyer
2f303f3822
Use dotnet-test-xunit package from NuGet
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
10ea1733e9
Update to .NET Core 1.0 packages
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
e8b8b22c4e
Removing remaining centos.7.1 RIDs
...
This should have been done programmatically.
2016-06-27 15:30:47 -07:00
Andrew Schwartzmeyer
97df59f553
Re-enable checking of assemblies with strong names
...
This removes the `UsesCodeSignedAssemblies()` switch in `CorePsPlatform`
and reverts the work-arounds skipping strong name checking.
2016-06-27 14:49:46 -07:00
Sergei Vorobev
8011ad707f
Disable 3 debugging tests on all platforms to unblock code integration
2016-06-22 06:28:34 -07:00
James Truher [MSFT]
810ed39d49
Merge pull request #1062 from PowerShell/XMLCommandPesterTest
...
Add Export-Clixml and Import-Clixml Pester Test
2016-06-20 11:00:02 -07:00
Dongbo Wang
eae26dc0fa
Add test to verify that a simple workflow can run
2016-06-17 14:54:54 -07:00
Sergei Vorobev
299d7798ce
Merge pull request #1136 from PowerShell/vors/scheduledjobs
...
PSScheduledJobs Module
2016-06-17 11:26:24 -07:00
JumpingYang001
8cd16e81c1
Update fix based on comments for Sort-Object Pester Test
2016-06-16 19:54:13 -07:00
JumpingYang001
bb32b104bc
Add Sort-Object Pester Unit Test
2016-06-16 19:46:52 -07:00
JumpingYang001
c1b0095361
Update fix based on comments for Export-Clixml and Import-Clixml Pester Test
2016-06-16 19:44:57 -07:00
JumpingYang001
5c9ff45370
Add Export-Clixml and Import-Clixml Pester Test
2016-06-16 19:42:51 -07:00
Sergei Vorobev
7cd6a76479
Add project.json for ScheduledJob, add test that we build PSScheduledJob module
2016-06-16 19:20:35 -07:00
Andrew Schwartzmeyer
b19be8c911
Fix CentOS RID in tests and build module
2016-06-16 18:39:29 -07:00
Andrew Schwartzmeyer
8e7c2ca30b
Sign all assemblies with key
2016-06-16 15:48:18 -07:00
Sergei Vorobev
e32346e58c
Add tests to ensure we build LocalAccounts and Archive correctly
2016-06-16 12:53:51 -07:00
Andy Schwartzmeyer
cd6b4e2ebc
Merge pull request #1090 from PowerShell/scriptdebug
...
Fix Broken Powershell Debugging
2016-06-15 17:38:16 -07:00
Andrew Schwartzmeyer
7d1ce65079
Mark tests as pending on Travis's OS X and on Windows
...
Because redirected `stdin` does not yet work on Windows, and because any
output based test does not yet work on OS X on Travis (where this is no
TTY), we cannot yet run these tests on those platforms.
2016-06-15 12:36:17 -07:00
v-alexjo
acd9249fe2
Added PORTABLE as define for debugging and reidented tests.
2016-06-15 12:33:11 -07:00
v-alexjo
f483429d11
Guarding Diagonstics to fix powershell debugging on Linux
2016-06-15 12:32:10 -07:00
v-alexjo
72cd28c336
Moving debugging tests out of Set-PSBreakpoint tests
2016-06-15 12:32:10 -07:00
Andrew Schwartzmeyer
af258919b7
Add tests for hierarchical paths
2016-06-15 12:16:54 -07:00
JumpingYang001
719c9fd5f3
Update fix for Get-Member Pester Test
2016-06-14 21:27:48 -07:00
JumpingYang001
bd61c5e88d
Add Get-Member Pester Test and fix merged to master broken
2016-06-14 19:51:41 -07:00
James Truher [MSFT]
ed590b95e7
Merge pull request #1097 from PowerShell/CompareObjectPesterTest
...
Fix merge to master broken for Compare-Object Pester Test
2016-06-14 15:06:16 -07:00
JumpingYang001
4005348f45
Update fixes based on James comments for DisplayXML Pester Test
2016-06-11 23:11:53 -07:00
JumpingYang001
1d6ab11ea8
Update fix based on comment for DisplayXML Pester Test
2016-06-11 23:11:53 -07:00
JumpingYang001
0dc339f579
Update Format-Custom Tree object Pester Test
2016-06-11 23:11:53 -07:00
JumpingYang001
1504f9b64f
Add Format-Custom Tree object Pester Test
2016-06-11 23:11:53 -07:00
JumpingYang001
dd3ee79c89
Fix OSX fail for DisplayXML Pester Test
2016-06-11 23:11:53 -07:00
JumpingYang001
c87dac7ba0
Add DisplayXMLTest to Pester Unit Test
2016-06-11 23:11:53 -07:00
JumpingYang001
0514f6a8d0
Add Compare-Object Pester Test and fix merge to master broken
2016-06-11 22:53:01 -07:00
Andrew Schwartzmeyer
e3056303aa
Rename compilationOptions to buildOptions in project.json files
...
This resolves #928 . This is a breaking change in that you *must* be
running a recent version of .NET CLI.
2016-06-10 11:03:56 -07:00
Sergei Vorobev
88ac6d0b2d
Temporarely skip 1 failing test
2016-06-10 17:03:49 +00:00
James Truher [MSFT]
7170bc681b
Merge pull request #982 from PowerShell/SelectObjectPesterTest
...
Add Select-Object Pestert Test
2016-06-09 16:41:36 -07:00
James Truher [MSFT]
5b17b603fb
Merge pull request #989 from PowerShell/CsvCommandTest
...
Add Unit Test for Export-Csv
2016-06-09 16:37:57 -07:00
James Truher [MSFT]
0d3f980795
Merge pull request #1022 from PowerShell/ImportCSVV2Tests
...
Add Unit Test for Import-Csv
2016-06-09 16:34:53 -07:00
James Truher [MSFT]
b76f569caf
Merge pull request #983 from PowerShell/ConvertToXml
...
Add Unit Test for ConvertTo-Xml
2016-06-09 16:28:05 -07:00
Andrew Schwartzmeyer
560bcaf736
Refactor base directory tests
2016-06-09 14:16:33 -07:00
Andy Schwartzmeyer
a48c5281a5
Fix Windows consistency tests
...
Use `USERPROFILE`, not `HOME`. The latter doesn't exist on Windows, and
`HOMEPATH` strips the drive. The former provides `C:\Users\<username>`.
Fix location tested for JIT cache location on Windows.
2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
4b0c916646
Skip tests which can't be run on Travis OS X
...
These should be marked as `-Pending` but Pester doesn't accept both
`-Skip` and `-Pending` parameters, so they had to be combined to support
skipping on Windows.
2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
41c7f9e469
Update XDG BDS tests to specifications
...
This renames the tests and updates for better requirement
specifications. The profile, modules, history, and startup cache data
are tested for not breaking Windows behavior, new Linux behavior, and
respecting set variables on launch. This also corrects some erroneous
assumptions I had previously made.
The ModuleAnalysisCache cannot be tested, and the startup cache data
might not be testable on Windows.
2016-06-09 09:50:36 -07:00
v-alexjo
c2527199a6
Further code review changes
2016-06-09 09:50:36 -07:00
v-alexjo
4c1f9f9c79
Adding XDG tests
2016-06-09 09:50:36 -07:00
Andrew Schwartzmeyer
fd649c0f77
Revert "Merge pull request #1046 from PowerShell/GetMemberCommandTest"
...
This reverts commit 7392c68bcb
, reversing
changes made to 1ee6e4ef2d
.
2016-06-08 13:24:33 -07:00
Andrew Schwartzmeyer
1f36de3e03
Revert "Merge pull request #1047 from PowerShell/CompareObjectPesterTest"
...
This reverts commit 1ee6e4ef2d
, reversing
changes made to 5a0155dc9d
.
2016-06-08 13:23:21 -07:00
James Truher [MSFT]
26691a5088
Merge pull request #1024 from PowerShell/MeasureObjectPesterTest
...
Add Measure-Object Pester Unit Test
2016-06-08 12:02:56 -07:00
James Truher [MSFT]
7392c68bcb
Merge pull request #1046 from PowerShell/GetMemberCommandTest
...
Add Unit Test for Get-Member
2016-06-08 12:00:57 -07:00
James Truher [MSFT]
1ee6e4ef2d
Merge pull request #1047 from PowerShell/CompareObjectPesterTest
...
Add Compare-Object Pester Unit Test
2016-06-08 11:59:14 -07:00
James Truher [MSFT]
5a0155dc9d
Merge pull request #1056 from PowerShell/NewObjectPesterTest
...
Add New-Object Pester Unit Test
2016-06-08 11:57:59 -07:00
James Truher [MSFT]
8fca9646e9
Merge pull request #1057 from PowerShell/SelectXMLPesterTest
...
Add Select-XML Pester Unit Test
2016-06-08 11:56:23 -07:00
James Truher [MSFT]
0e2f25def5
Merge pull request #1059 from PowerShell/TeeObjectTests
...
Add Unit Test For Tee-Object
2016-06-08 11:53:39 -07:00
Andrew Schwartzmeyer
c6960f0867
Add tests for command name matching
2016-06-03 14:18:00 -07:00
Andy Schwartzmeyer
b9bf32d962
Merge pull request #1068 from PowerShell/andschwa/trace-command
...
Port Trace-Command
2016-06-03 14:13:13 -07:00
Andrew Schwartzmeyer
70be543038
Add Get-TraceSource test
2016-06-03 13:53:20 -07:00
Andrew Schwartzmeyer
dbae9e5c13
Import Trace-Command tests from source depot
2016-06-03 13:35:56 -07:00
Jason Shirk
a3748647d5
Merge pull request #919 from PowerShell/WriteTests
...
Add Unit Test For Write Command
2016-06-03 10:46:26 -07:00
Andrew Schwartzmeyer
9c7e97e325
Add Debian 8 RID
2016-06-03 09:37:59 -07:00
TingLiu6
9ae922551c
Fixed CR Issues of Write-Host and Write-Output
2016-06-02 23:31:12 -07:00
JumpingYang001
72793ae7e4
Update fix based on comments for Select-XML Pester Test
2016-06-02 19:27:38 -07:00