Dicey Dai
5318cecf39
Update New-Alias Pester Unit Test
2016-04-20 20:26:16 -07:00
Andrew Schwartzmeyer
957966508f
Whitespace cleanup
2016-04-20 14:09:16 -07:00
Andrew Schwartzmeyer
b2ae01fc3e
Fix cryptic Pester failure
...
When the Pester tests were invoked over PSRP and the environment was
more pristine than a local client, the lack of a "foo" variable in some
scope caused the Pester test suite to emit an error at the end, failing
the PSRP build.
Removing the Clear-Variable directive eliminates this error, and is not
necessary for the Pester test itself.
2016-04-20 14:07:40 -07:00
Andrew Schwartzmeyer
0b91bf718f
Whitespace clean up and re-indent
2016-04-20 10:48:08 -07:00
George Fleming
7a99b885da
Modify Set-PSBreakpoint.Tests.ps1 and fix 3 pending tests
2016-04-20 10:44:16 -07:00
Andy Schwartzmeyer
ecc3483061
Merge pull request #860 from PowerShell/NewVariablePesterUnitTest
...
Add New-Variable Pester Unit test
2016-04-19 16:37:48 -07:00
JumpingYang001
7f0442a069
Update fixes based on comments for New Variable Pester Unit Test
2016-04-19 16:00:39 -07:00
JumpingYang001
1f739bb85c
Remove newline var for New-Variable Pester Unit Test
2016-04-19 16:00:39 -07:00
JumpingYang001
4a619f49e3
Add New-Variable Pester Unit test
2016-04-19 16:00:39 -07:00
JumpingYang001
2400907968
Update fixes based on comments for Clear Variable Pester Unit Test
2016-04-19 15:59:26 -07:00
JumpingYang001
23aebe7945
Add Clear-Variable Pester Unit Test
2016-04-19 15:59:26 -07:00
George Fleming
b8598b74ac
Use new Listener signature
2016-04-19 15:14:22 -07:00
Andy Schwartzmeyer
a655b439bc
Merge pull request #850 from PowerShell/andschwa/fix-xunit
...
Re-enable xUnit tests on Linux
2016-04-18 19:27:55 -07:00
Andy Schwartzmeyer
3501376053
Merge pull request #845 from PowerShell/SetVariablePesterUnitTest
...
Add Set-Variable Pester Unit test
2016-04-15 09:30:52 -07:00
JumpingYang001
ca049ba56f
Updaet fixed comments for Set-Variable Peste unit test
2016-04-14 19:27:18 -07:00
Andrew Schwartzmeyer
dc9b4c595d
Fix xUnit tests for Linux
...
The latest xUnit packages fix the "could not resolve coreclr path"
problem we were having. To resolve all dependencies, the cli-deps feed
was replaced with the aspnet feeds.
However, the latest xUnit packages do not allow us to set the default
AssemblyLoadContext.
2016-04-14 18:06:57 -07:00
Andy Schwartzmeyer
9496106637
Merge pull request #830 from PowerShell/UnitTest_Temp
...
Add Unit test for Set-PSBreakpoint
2016-04-14 11:49:08 -07:00
Andrew Schwartzmeyer
b930eeef9f
Disable broken OS X Pester tests
...
- The Get-Process cmdlet on OS X has issues due to permissions
- The Get-Process test in NativeLinuxCommands should have been removed
- The ProcessName property has the same bug that has been fixed on Linux
2016-04-14 10:05:51 -07:00
TingLiu6
92ac20f83b
Add Unit Test for Out-File,Out-String,Write-Error
2016-04-14 00:17:02 -07:00
JumpingYang001
60c3b58f9e
Merge remote-tracking branch 'origin/master' into SetVariablePesterUnitTest
2016-04-13 22:39:31 -07:00
JumpingYang001
46135239ba
Add Set-Variable Pester Unit test
2016-04-13 20:37:27 -07:00
TingLiu6
5300811ff9
Fixed the issue in PR
2016-04-13 20:16:36 -07:00
Andy Schwartzmeyer
f38a11fc02
Merge pull request #807 from PowerShell/GetVariablePesterUnitTest
...
Add Get-Variable Pester Unit Test
2016-04-13 11:11:08 -07:00
JumpingYang001
d0c759f10e
Update indent for Get-Variable Pester unit test
2016-04-13 09:41:04 -07:00
JumpingYang001
191f232519
Update fixed comments from PR for Get-Variable Pester unit test
2016-04-13 09:41:04 -07:00
JumpingYang001
0531914377
Enable bug777 skip for Get-Variable
2016-04-13 09:41:04 -07:00
JumpingYang001
95eade1305
Add Get-Variable Pester Unit Test
2016-04-13 09:41:04 -07:00
Andy Schwartzmeyer
5b880dbbb8
Merge pull request #782 from PowerShell/ImportAliasPesterUnitTest
...
Add Import-Alias Pester Unit test
2016-04-13 09:40:28 -07:00
JumpingYang001
6184dec3ad
Update stand-alone tests for Import-Alias Pester unit test
2016-04-13 02:42:34 -07:00
TingLiu6
b32e949cab
Add Unit Test for Set-PSBreakpoint
2016-04-12 20:27:38 -07:00
Andrew Schwartzmeyer
735a702f1c
Remove alias tests for Write-Output
...
The `echo` and `write` aliases were removed, which make these tests
inaccurate (but did not fail them).
2016-04-11 10:46:39 -07:00
TingLiu6
fbfcb47454
Unit Test for Set-PSBreakpoint
2016-04-10 23:30:46 -07:00
JumpingYang001
5c341e7d7f
Remove Context for Import-Alias pester unit test
2016-04-10 19:38:35 -07:00
Andrew Schwartzmeyer
3a43126a2e
Allow creation of symlink to non-existent target
...
This action is completely valid on both Windows and Linux (and OS X)
operating systems; tested with `mklink` and `ln -s` respectively.
Note that targets for hard links must exist, thus we check specifically
for symbolic links.
Both the path globber in session state and the `New-Item` implementation
needed to be fixed to allow the target not to exist.
Resolves #801 .
Also enable symbolic link tests on Windows.
2016-04-09 18:45:23 -07:00
Andrew Schwartzmeyer
022a63c6d2
Fix whitespace in csharp/project.json
2016-04-08 21:58:05 -07:00
Andrew Schwartzmeyer
7ace2b6b64
Fix NuGet warnings by depending on NuGet.Packaging.Core
...
And upgrade dotnet-test-xunit
2016-04-08 21:50:24 -07:00
Sergei Vorobev
bf1a2c8521
Make Add-Type work without a flat folder structure
...
- Get rid of the assumption that all framework assemlbies live in
the same place
- Enable build scenario (assemlbies are referenced directly from unpacked
nuget packages)
- Fix #766
- Re-enable Add-Type tests
2016-04-08 21:41:30 -07:00
Andy Schwartzmeyer
a6a6ac7c36
Merge pull request #787 from PowerShell/andschwa/platform-module
...
Remove Microsoft.PowerShell.Platform
2016-04-08 16:07:38 -07:00
Andrew Schwartzmeyer
73fe95feb8
Add tests for removal of aliases
2016-04-08 15:52:37 -07:00
Andrew Schwartzmeyer
b3521944ec
Fix Pester test
2016-04-08 15:23:38 -07:00
Andrew Schwartzmeyer
8c7174de10
Fix xUnit tests
2016-04-08 15:22:37 -07:00
Andrew Schwartzmeyer
bcdad12c04
Fix tests for removal of Platform module
2016-04-08 15:13:01 -07:00
Andrew Schwartzmeyer
2bd274f5d7
Fix tests broken by removal of aliases
2016-04-08 13:36:54 -07:00
Andrew Schwartzmeyer
bfaad3f057
Programmatic update of core console host rename
2016-04-08 10:59:41 -07:00
JumpingYang001
6e2190fc7d
Add Import-Alias Pester Unit test
2016-04-08 01:47:50 -07:00
Andy Schwartzmeyer
a5966a8618
Merge pull request #775 from PowerShell/UnitTest_Temp
...
Add Unit Tests for GetDateTest.cs and StartSleepTest.cs
2016-04-07 21:03:00 -07:00
Andy Schwartzmeyer
d58774b5a6
Merge pull request #778 from PowerShell/ExportAliasPesterUnitTest
...
Add Export-Alias Pester Unit Test
2016-04-07 21:01:56 -07:00
TingLiu6
757724abf5
fix the issue of review
2016-04-07 20:27:04 -07:00
JumpingYang001
108bcbf860
Update comments for Export-Alias Pester unit test
2016-04-07 19:51:28 -07:00
TingLiu6
63f8782d05
Improve Unit Test for Get-Date
2016-04-07 00:15:50 -07:00