Commit graph

1954 commits

Author SHA1 Message Date
Bryce Milton
613d9c3cad Porting Management DRT TTests from psl-monad to Pester 2016-04-20 21:27:17 -07:00
Dicey Dai
97c215791e Add Invoke-Expression Pester Unit Test 2016-04-20 21:25:16 -07:00
Andy Schwartzmeyer
6c098b84e2 Merge pull request #878 from PowerShell/GetHostUT
Add Unit Test for Get-Host
2016-04-20 21:06:07 -07:00
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
TingLiu6
717608bb69 Add Unit Test for Get-Host 2016-04-20 02:16:36 -07:00
TingLiu6
2b54e7a709 Add Unit Test for Get-Culture 2016-04-20 01:28:43 -07:00
TingLiu6
61441715c1 Add Unit Test for Add-Member 2016-04-20 00:57:31 -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
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
TingLiu6
2d622eedc0 Modify Pester test for New-Object 2016-03-24 19:40:39 -07:00
JumpingYang001
b4ec4bf0d8 Fix travis fail with different Mode format in special machine for FileSytemProvider xunit test 2016-03-24 02:02:50 -07:00
JumpingYang001
81a31ab07e Fix travis fail for FileSytemProvider xunit test 2016-03-24 01:38:35 -07:00
JumpingYang001
7c5a13ec74 Update FileSystemProviderTest to let all test method works for #120 2016-03-24 01:11:11 -07:00
Andy Schwartzmeyer
d8de5d20bf Merge pull request #734 from PowerShell/typecataloggen
Fix type catalog generation
2016-03-23 13:16:50 -07:00
Andrew Schwartzmeyer
e88e463315 Add regression test .NET class interop
This bug arose because of a shortcut previously taken when generating
input for the type catalog generator. With a proper parser created, the
input to the generator is now correct, and so this test should succeed.
2016-03-22 21:41:46 -07:00
JumpingYang001
31ec32896f Update Fact Skip for not work tests for FileSystemProvider xunit test 2016-03-22 20:23:37 -07:00
JumpingYang001
5c35053350 Update test fix for test_FileSystemProvider.cs 2016-03-22 20:23:37 -07:00
JumpingYang001
920bc1f3f8 Add FileSystemProvider xUnit test for issue 120 2016-03-22 20:23:37 -07:00
TingLiu6
bd51520505 Improve Pester Test for New-object #476 2016-03-22 19:58:34 -07:00
JumpingYang001
8141baaa47 Add comparison operator tests for #219 2016-03-22 01:17:22 -07:00
Andy Schwartzmeyer
8c67f6ca6f Merge pull request #711 from PowerShell/PesterTest_Temp
Add Pester Test for Get-PSBreakpoint, Import-Module, Sort-Object  #535 #479 #474
2016-03-21 10:30:15 -07:00
TingLiu6
25f8d334d6 Modify Pester Test for Get-PSBreakpoint 2016-03-20 22:04:08 -07:00
Andy Schwartzmeyer
8313aaa418 Merge pull request #695 from PowerShell/NativeLinuxCommandsTest
Add Pester tests for calling native Linux commands for #138
2016-03-18 19:39:09 -07:00
TingLiu6
6be57a0b5c Add Pester Test for Get-PSBreakpoint, Import-Module, Sort-Object 2016-03-18 02:30:26 -07:00
JumpingYang001
bf80880b51 Update Pester test for calling native Linux commands for isssue 138 2016-03-18 00:23:57 -07:00
Andy Schwartzmeyer
3d967c33ec Merge pull request #697 from PowerShell/RemoveModuleTest
Add Pester test for Remove-Module for #536
2016-03-18 00:11:55 -07:00
JumpingYang001
2836fe3714 Add Pester test for Remove-Module 2016-03-17 23:50:23 -07:00
JumpingYang001
89a6b8c1b5 Add Get-Process Pester test for issue 147 2016-03-17 23:49:09 -07:00
JumpingYang001
73fa64c350 Add Pester tests for calling native Linux commands for issue 138 2016-03-17 22:48:35 -07:00
JumpingYang001
c460e52043 Update test fix for test_SessionState.cs 2016-03-17 20:18:29 -07:00
Andrew Schwartzmeyer
1665d6c525 Add SessionStateTests to AssemblyLoadContext collection 2016-03-17 19:11:41 -07:00
JumpingYang001
c42258cfac Add SessionStateInternal.Drives() xUnit test
Resolves #64
2016-03-17 19:10:23 -07:00
Andrew Schwartzmeyer
60ef5cd58d Add xUnit tests readme 2016-03-17 18:20:05 -07:00
Andrew Schwartzmeyer
6d93a1766b Add all classes to AssemblyLoadContext collection
To ensure that the initializer is called before any other code. This is
as close to a global init hook as I can find.
2016-03-17 18:15:39 -07:00
Andrew Schwartzmeyer
b820817c84 Fix AssemblyLoadContext fixture
Resolves #676.
2016-03-17 17:36:06 -07:00
Andrew Schwartzmeyer
447b3ef729 Update xUnit runner to netstandardapp1.5
This was enabled in dotnet/coreclr.xunit#12
2016-03-14 16:51:49 -07:00
Andrew Schwartzmeyer
5901e70dd0 Revert work-around in Json.Tests.ps1
This resolves #627.
2016-03-14 13:39:32 -07:00
Andrew Schwartzmeyer
887ac21256 Remove accidentally committed temporary file
This file was used to convert the test from UTF-8 with BOM to ASCII, and
got caught in a `git commit -a`.
2016-03-08 19:15:22 -08:00
Jumping Yang
a504defbb9 Fixed Pester Get-Location test 2016-03-08 14:55:30 +08:00
Andy Schwartzmeyer
299ee6af2e Merge pull request #628 from PowerShell/osx-ping
Fix Start-Process tests
2016-03-04 17:53:15 -08:00
Andrew Schwartzmeyer
0df9b76322 Fix Start-Process tests
OS X's ping command requires the flags to be specified before the
arguments. I also reduced the ping count so that the tests execute a bit
faster. This resolves #556.
2016-03-04 17:35:13 -08:00
George Fleming
e52da3b1e5 Add hardlink test for New-Item 2016-03-04 16:51:24 -08:00
Andrew Schwartzmeyer
6382bfb069 Enable Add-Type test on Windows
Resolves #606.
2016-03-04 15:55:55 -08:00
Andrew Schwartzmeyer
0c6b14adab Programmatic indentation and whitespace-cleanup of tests 2016-03-04 14:52:27 -08:00
Andrew Schwartzmeyer
0aaf74bdcc Convert Pester tests to ASCII
Instead of UTF-8 with BOM.

Resolves #417.
2016-03-04 14:48:30 -08:00
Andrew Schwartzmeyer
901160cb78 Fix Get-Location tests
These should never have passed.
2016-03-04 14:42:36 -08:00
Andrew Schwartzmeyer
15f8433d98 Use $PSScriptRoot instead of assigning $here 2016-03-04 14:42:08 -08:00
Andrew Schwartzmeyer
c37a0c4a64 Increase New-TimeSpan difference to reduce errant failures 2016-03-04 14:41:33 -08:00
Andrew Schwartzmeyer
579287c53d Fix ExecutionPolicy tests to -Skip instead of return 2016-03-04 14:40:51 -08:00
Andrew Schwartzmeyer
4feb665203 Update PSVersionTable tests for PSEdition 2016-03-04 14:40:33 -08:00
Andrew Schwartzmeyer
615eca6fd5 Use -Skip:$IsWindows
Uses the $IsWindows etc. booleans from the Microsoft.PowerShell.Platform
module instead of sourcing Test-Common repeatedly.
2016-03-04 14:39:18 -08:00
Andrew Schwartzmeyer
de6a452f63 Pester test formatting cleanups 2016-03-04 14:38:01 -08:00
Andrew Schwartzmeyer
7857f13165 Skip SymbolicLink tests on Windows
On Windows, making symbolic links requires administrator access, so
let's skip it.
2016-03-03 18:09:52 -08:00
Andrew Schwartzmeyer
da9c58828e Workaround dotnet/corefx#6603 2016-03-03 17:02:07 -08:00
Andrew Schwartzmeyer
d253a4e483 Make Add-Type test -Pending until it passes on Windows 2016-03-03 13:46:35 -08:00
Andy Schwartzmeyer
cdd0e9daef Merge pull request #601 from PowerShell/newitem
Modify New-Item to support Symbolic Link on Linux
2016-03-01 16:32:14 -08:00
George Fleming
134ccef8c0 Remove directory symlink first to avoid broken symlink issues 2016-03-01 15:57:16 -08:00
George Fleming
d622477073 Change order of delete to get around broken symlink issue 2016-03-01 15:57:16 -08:00
George Fleming
5ab50a183f New test for symlink of directory 2016-03-01 15:57:16 -08:00
Andrew Schwartzmeyer
96be23da1e Add simple regression test for Add-Type 2016-03-01 14:28:17 -08:00
Andrew Schwartzmeyer
9402c68c57 Fix Start-Sleep Pester tests 2016-02-26 13:11:14 -08:00
Andrew Schwartzmeyer
9f2ce63267 Fix xUnit tests for netstandardapp1.5
With the switch to `netstandardapp1.5` framework for the host, the xUnit
test runner broke. For `dotnet test` to work with the .NET Core xUnit
runner, it must continue to target `dnxcore50`. Fortunately, we can
import our project's framework, and make everything work again.

Also improved the `xunit.sh` script to check for dependencies.
2016-02-19 14:40:17 -08:00
Andrew Schwartzmeyer
e6e4dcafbe Build with new framework and new CLI
All libraries now use the framework `netstandard1.5`, and import the
`dnxcore50` and `portable` frameworks. The app that is published,
Microsoft.PowerShell.Linux.Host, that is, the top-level dependency that
emits an executable, instead targets `netstandardapp1.5` and has a new
`runtimes` key so that .NET CLI's `restore` and `publish` commands know
which runtime implementations to resolve.

When switching to the new CLI, we needed to fix how we specified our
dependencies. In particular, the .NET CLI team helped me figure out how
to download packages that are reference assembly only on Linux, with
implementations on Windows. The result of this is the new `frameworks`
setup.

Additionally, we were incorrectly specifying our build dependencies;
that is, projects we also build (not packages). The solution was much
cleaner. We removed the `type: build` section and replaced it with the
version `1.0.0-*` that all our projects currently use.

The `project.json` files also had their names, descriptions,
indentation, and versions fixed.

The build scripts were simplified.
2016-02-18 10:06:56 -08:00
Andrew Schwartzmeyer
dae6e0ebd5 Use Linux.Host in xUnit tests
Make its internals visible to the `powershell-tests` assembly, and use its
`MyHost` and `Listener` classes instead of facades.
2016-02-17 17:03:59 -08:00
Andrew Schwartzmeyer
473ac41630 Initialize the ALC for the runspace tests
This initialization was moved out of the native host and into the
managed host, so the same setup must now be done before tests.
2016-02-17 17:03:59 -08:00
Andrew Schwartzmeyer
c68164f280 Remove Commands.Omi module
This was a temporary work-around that now needs to be removed (mostly
because the xUnit tests are out-of-date because we didn't have a runner,
and it's not worth it to fix them). Rather than let more cruft
accumulate, we need to remove it.

Resolves #551
2016-02-17 17:03:59 -08:00
Andrew Schwartzmeyer
9b9493241d Update xUnit dependencies for dotnet-test-xunit
Add `xunit` and `dotnet-test-xunit` packages. Import `portable-net45`
for `xunit`. Add `xunit` as `testRunner`.
2016-02-17 17:03:03 -08:00
George Fleming
43d284f6b3 New pester test for Import-LocalizedData 2016-02-11 10:13:56 -08:00
George Fleming
4fe69773d4 Modified Get-ChildItem pester test to check for sorted list of files 2016-02-10 15:52:21 -08:00
Andrew Schwartzmeyer
dacaebefb8 Move Pester to submodule to Host/Modules
This way it can also be deployed automatically, removing the last manual
copy steps from our build scripts.

Travis and AppVeyor configurations updated for new submodule location.
2016-02-10 12:58:56 -08:00
Andrew Schwartzmeyer
5442346820 Update Get/Set-ExecutionPolicy tests
Test expected behaviors on both Windows and Linux.
2016-02-09 16:10:10 -08:00
George Fleming
8adffbb2e2 Fix HOMEPATH and Wait-Event tests
On Windows, HOMEPATH is not necessarily `\Users\username`, so the test
was made to match more loosely.

Wait-Event's timeout varied more than expected, so the test's range was
increased.
2016-02-08 10:59:15 -08:00
George Fleming
6ce53af354 Fix errors on CoreCLR Windows port 2016-02-08 10:59:02 -08:00
George Fleming
bdffd103d9 Remove / and /tmp references 2016-02-08 10:59:02 -08:00
George Fleming
cb6d7011d9 Clean up temp files in pester scripts 2016-02-08 10:59:02 -08:00
Andrew Schwartzmeyer
5845a56d89 Use $env:CORE_ROOT if set, otherwise AppContext.BaseDirectory
Otherwise the Json.NET DLL cannot be found when Pester tests are run
over PSRP.
2016-02-04 12:58:00 -08:00
Sergei Vorobev
2096bca2b8 Run FullCLR sanitary tests in AppVeyor
This change brings a very minimal set of tests and make
build fail, if we cannot load some PS assamblies on FullCLR

We should increase test coverage for FullCLR in future.
2016-02-03 17:29:27 -08:00
Andrew Schwartzmeyer
a8be633089 Bump packages to rc3-23729 2016-02-02 15:43:54 -08:00
Andrew Schwartzmeyer
71f670f86c Add packages required for updated sources
Commands.Utility now needs Microsoft.CodeAnalysis.CSharp, which doesn't
explicitly target `dnxcore50`, so now Commands.Utility and the packages
which depend on it now much `import` the Portable Windows framework.
This also required adding the aspnetvnext feed.

System.Management.Automation now requires System.Diagnostics.StackTrace.
2016-01-26 16:49:28 -08:00
Andrew Schwartzmeyer
ae9c58e3e3 Remove xUnit reference from csharp/project.json
Currently fails to restore, working on prototype.
2016-01-20 10:14:44 -08:00
Andrew Schwartzmeyer
62de9f2645 Fix the Get-Item Pester test
Failed because we renamed the test directory.
2016-01-15 14:31:52 -08:00
Andrew Schwartzmeyer
bbebf2f76a Reorganize tests
- Pester source code moved to `test/Pester`, deleted `ext-src`.
- Pester tests (.ps1 files) moved to `test/powershell`
- xUnit tests (.cs files) moved to `test/csharp`
- Third-party script test moved to `test/shebang`
2016-01-14 17:00:06 -08:00
Andrew Schwartzmeyer
ec08d9f46c Move Pester test/Pester and push to GitHub 2016-01-14 16:17:50 -08:00