Commit Graph
1421 Commits
Author SHA1 Message Date
Zach Folwick a75b978113 Merge pull request 251 from dev/export-alias into develop
added export-alias basic tests
2015-11-06 19:27:20 +00:00
Zachary Folwick 45047efd97 removed extra material that was more suited for end-to-end test scenarios, allowing for easier exposure of the real bug- which is likely with Get-Variable 2015-11-06 09:57:04 -08:00
Alex Jordan 6595d6b532 Get-UICulture Pester Test should return a CultureInfo on CorePS instead of VistaCultureInfo 2015-11-06 07:46:40 +00:00
Alex Jordan 1e8de5b568 Added pester tests for Get-Culture, Get-Host, Get-UICulture 2015-11-06 07:19:04 +00:00
Andrew Schwartzmeyer 7cda20517e Use HOME instead of HOSTNAME for environment tests
Because HOSTNAME can be tricky, but HOME is always set.
2015-11-05 10:11:38 -08:00
George Fleming aeabd5aa53 Fix for history 2015-11-05 09:30:09 -08:00
Andrew Schwartzmeyer 2557e8c278 Repin monad-native with fixes 2015-11-04 21:29:45 -08:00
Zachary Folwick 298ac17a07 added export-alias basic tests 2015-11-04 16:43:29 -08:00
Andrew Schwartzmeyer db338c2b9a Fix Pester tests
These fail with the improved console because $input is already defined.
2015-11-04 15:13:21 -08:00
Andrew Schwartzmeyer f411d056c2 Update monad and monad-build submodules 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer cbcf974e57 Execute *.ps1 arguments as scripts 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer f8bd1243b6 Clean up 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 391371e753 Enable PowerShell profiles
Added default PSL_profile.ps1 script, with rule to copy to expected
location (which is the same location of the PowerShell libraries).

Copied from Host06 example the code which loads the profile.

Made HostUtilities available to powershell.exe.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 751676e3a5 Small clean up 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 3812359153 Fix exception reporting 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer c3b6ff1b4e Clean up main.cs 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 8dcb769bb7 Fix xUnit tests
Moved the xUnit tests build rules to their own Makefile, included by
monad-build/Makefile.

Temporarily introduced POWERSHELL_HOST to reenable running of
xunit.console.netcore.exe until this is built-in to the native
powershell host.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer eb816dd147 Rename ps_test to xunit-tests 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer cf2a58cad9 Fix monad-build/Makefile for powershell.exe rename 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 8f9042a151 Fix host Makefile for file renames 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer a5720e9198 Remove powershell-simple from Makefile 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer d12052cdc0 Move custom host Makefile out of monad-build 2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer e378bb7f7d Rename powershell-run to host
Because this is our custom host for PowerShell on Linux.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 2a4c01b965 Rename powershell-run to powershell
It is now the only shell.
2015-11-04 15:09:29 -08:00
Andrew Schwartzmeyer 963648babe Delete powershell-simple
Deprecated for powershell-run
2015-11-04 15:09:29 -08:00
Zach Folwick f87e32d285 Merge pull request 235 from dev/convertto-csv into develop
Added test to validate ConvertTo-Csv
2015-11-04 17:17:04 +00:00
George Fleming af00ffc4db adding submodules 2015-11-03 13:55:31 -08:00
George Fleming efefcad0f8 New xunit tests for domainname and isexecutable 2015-11-03 11:51:59 -08:00
Zachary Folwick e884990d61 added additional tests to ConvertTo-Csv tests 2015-11-03 11:44:51 -08:00
Andrew Schwartzmeyer 06be397283 Fix ConvertFrom-Csv failure 2015-11-02 15:26:14 -08:00
Andy Schwartzmeyer 337cfe552b Merge pull request 242 from dev/console-args into develop
made powershell work with additional argument logic
2015-11-02 23:22:55 +00:00
Zach Folwick c07a94ef24 Merge pull request 240 from dev/fix-pester into develop
Use $here to avoid 'cd $(PESTER)'
2015-11-02 23:22:04 +00:00
Andrew Schwartzmeyer 0b6adb68ee Use $here to avoid 'cd $(PESTER)'
Per the Pester examples: https://github.com/pester/Pester/blob/master/Examples/Calculator/Add-Numbers.Tests.ps1
2015-11-02 15:20:31 -08:00
Andrew Schwartzmeyer 1564ebc5b5 Repin monad (and monad-ext) 2015-11-02 15:12:37 -08:00
George Fleming a7418ff660 Merge pull request 238 from dev/symlink into develop
Add tests for FQDN and SymLink
2015-11-02 23:08:27 +00:00
Zachary Folwick fe3608da57 made powershell work with additional argument logic 2015-11-02 15:04:40 -08:00
Andrew Schwartzmeyer 05f59d15b1 Untabify Json.Tests 2015-11-02 14:06:58 -08:00
Andy Schwartzmeyer 8c640e50c3 Merge pull request 241 from dev/json into develop
Add Json.NET Pester tests
2015-11-02 21:53:11 +00:00
Zach Folwick 349b4e8381 Merge pull request 229 from dev/convertfrom-csv into develop
added ConvertFrom-Csv tests
2015-11-02 21:52:14 +00:00
Zachary Folwick ccc873b45f made changes according to PR 2015-11-02 13:45:39 -08:00
Zachary Folwick 6036e09f43 Added Csv test file for Convertfrom-Csv 2015-11-02 13:45:06 -08:00
Zach Folwick ded2bc99ab Merge pull request 239 from dev/set-alias into develop
Merge dev/set-alias to develop
2015-11-02 18:48:52 +00:00
Andrew Schwartzmeyer e24f4b43a1 Update monad-native to fix Jenkins job
monad-native has a new target, `install` which places the native bits
into bin and lib folders, which here are prefixed to monad-linux.

Note that the location of native-tests.xml has changed so that the
monad-native Jenkins build can pick it up.
2015-10-30 18:53:48 -07:00
Andrew Schwartzmeyer 37d861f197 Add Json.NET Pester tests 2015-10-30 18:09:03 -07:00
Zachary Folwick cace8c5873 corrected an issue with set-alias on linux 2015-10-30 16:12:40 -07:00
Zachary Folwick 60aab90d31 added set-alias tests 2015-10-30 16:05:51 -07:00
George Fleming af52de746b Add tests for FQDN and SymLink 2015-10-30 15:30:36 -07:00
Zachary Folwick 24263a7524 Added test to validate ConvertTo-Csv 2015-10-30 14:43:48 -07:00
Andy Schwartzmeyer 9b003f059c Merge pull request 233 from dev/update-monad into develop
Update submodules
2015-10-30 18:55:53 +00:00
Andrew Schwartzmeyer 4c9540d777 Update submodules
This brings in the updates to monad-native and monad-build necessary to
bring in the updates to monad.
2015-10-30 11:16:27 -07:00