John Kordich
ee7356e36e
Disabling unit tests for OSX
2016-08-04 10:47:41 -07:00
John Kordich
0c7cbc1667
Adding Import-Module to MOF-Compilation tests
2016-08-04 10:47:41 -07:00
John Kordich
e0fdf1ed00
Fixing up mof compilation test script to set PSMODULEPATH properly
2016-08-04 10:47:41 -07:00
John Kordich
643533b6a8
Adding DSC MOF compilation for Linux tests
2016-08-04 10:47:41 -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