Commit graph

124 commits

Author SHA1 Message Date
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
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
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
JumpingYang001 04f3936b6b Add Export-Alias Pester Unit Test 2016-04-06 23:17:43 -07:00
JumpingYang001 c4421eaa30 Update Skip bug 777 for New-Alias Pester unit test 2016-04-06 19:57:05 -07:00
Ting Liu [Wicresoft] 9733f5e8e7 Merge branch 'master' into UnitTest_Temp 2016-04-06 16:27:44 +08:00
JumpingYang001 a3ed623c64 Add New-Alias Pester and update Set-Alias Pester test 2016-04-06 01:24:00 -07:00
TingLiu6 4a4994ba2d Add Unit Test for StartSleepTest.cs 2016-04-06 01:17:27 -07:00
TingLiu6 11afac883f Add Unit Test for GetDateTest.cs 2016-04-06 01:14:14 -07:00
Andrew Schwartzmeyer fe0ad12598 Update test documentation 2016-04-04 19:20:26 -07:00
Andrew Schwartzmeyer 1b3bd12230 Don't load Netwonsoft.Json from path
It's already loaded.
2016-04-01 22:35:00 -07:00
Andrew Schwartzmeyer d27ae18ca0 Skip Add-Type.Tests.ps1
This broke and needs to be fixed.
2016-04-01 22:35:00 -07:00
Andrew Schwartzmeyer 067609cdce Add runtimes back to xUnit runner
Per dotnet/cli#2201
2016-04-01 20:25:12 -07:00
Andrew Schwartzmeyer 5a1666c984 Fix programatic references to Linux.Host 2016-04-01 19:15:41 -07:00
JumpingYang001 fc0f9c315c Add Pester Unit test for Set-Alias 2016-04-01 00:50:10 -07:00
Andy Schwartzmeyer 954280d950 Merge pull request #756 from PowerShell/GetAliasPesterUnitTest
Add Pester Unit test for Get-Alias
2016-03-31 20:14:15 -07:00
JumpingYang001 97b96dda9e Update Pester Unit test for Get-Alias 2016-03-31 20:03:07 -07:00
Andrew Schwartzmeyer d7b104110e Bump .NET Core packages to 23931-00 2016-03-31 12:33:44 -07:00
JumpingYang001 c0f3fea44b Add Pester Unit test for Get-Alias 2016-03-31 01:24:50 -07:00
Andrew Schwartzmeyer 6f8daacf31 Add test/README.md 2016-03-30 23:30:26 -07:00
Andrew Schwartzmeyer 609a4c31e9 Fix up Pester test documentation 2016-03-30 23:30:25 -07:00
Andrew Schwartzmeyer fd51ebe78f Remove obsolete testing docs 2016-03-30 21:30:06 -07:00
Sergei Vorobev 244dea20a9 Fix version of dotnet-test-xunit to a previous good known one 2016-03-30 20:46:46 -07:00
George Fleming e6980894f7 Modify tests to display link type and link target 2016-03-28 14:35:34 -07:00
Andy Schwartzmeyer 15495875b4 Merge pull request #737 from PowerShell/PesterTest_Temp
Improve Pester Test for New-object #476
2016-03-24 21:16:34 -07:00
TingLiu6 880225501a Modify Pester test for New-Object 2016-03-24 20:20:06 -07:00
TingLiu6 0802c32562 Merge branch 'master' of https://github.com/PowerShell/PowerShell into PesterTest_Temp 2016-03-24 19:50:03 -07:00