Peter Honeder
84d58714fc
added a simple test that creates a full PS Runspace and executes a script
2015-09-03 21:43:17 +02:00
Andy Schwartzmeyer
0c5c4e8633
Merge pull request 139 from dev/226-auto-coreref into develop
2015-09-03 18:11:58 +00:00
Andrew Schwartzmeyer
94be33afe1
Generate $COREREF in Makefile automatically
...
Previously generated by hand and saved. Now will update itself
automatically when monad-ext/coreclr is updated.
2015-09-03 11:10:49 -07:00
Zachary Folwick
aa45feb385
Added test suite for Test-Path cmdlet
2015-09-02 16:15:52 -07:00
Andrew Schwartzmeyer
74f0a893c1
Repin monad
2015-09-02 15:17:35 -07:00
Zachary Folwick
9b02eea58d
added unit test for additional failure cases and removed unneeded code from existing unit tests
2015-09-02 11:15:31 -07:00
Zachary Folwick
080c734dfb
added fail under directory as input unit test
2015-09-02 11:02:09 -07:00
Zachary Folwick
73b1a71420
bringing implementation code up-to-date with the test code
2015-09-01 16:58:16 -07:00
Zachary Folwick
4ff6341034
implemented xunit tests for testing isHardLink using a fileSystem object
2015-09-01 16:57:16 -07:00
Andy Schwartzmeyer
c09796bb0a
Merge pull request 135 from dev/209-make-script into develop
2015-09-01 21:13:48 +00:00
Andrew Schwartzmeyer
8c80840d69
Make path relative to monad-linux/scripts
...
Since that's where the Makefile lives
2015-09-01 14:08:04 -07:00
Andrew Schwartzmeyer
a7010cd742
Add make script.ps1
target for easy testing
...
Use like `make src/pester-tests/Test-Split-Path.Tests.ps1`
2015-09-01 13:55:54 -07:00
Andy Schwartzmeyer
d7cc3e3d64
Merge pull request 134 from dev/tests into develop
2015-08-31 19:56:37 +00:00
Andrew Schwartzmeyer
70466f963c
Repin monad and monad-native
...
- GetCpInfo fixes monad-native compiler warning
- monad has more fixes
2015-08-31 12:55:43 -07:00
Andrew Schwartzmeyer
f648656cc1
Refactor test targets
2015-08-28 21:18:58 -07:00
Zach Folwick
a1e3981b6e
Merge pull request 122 from dev/112-split-path-pester into develop
2015-08-29 03:14:38 +00:00
Andrew Schwartzmeyer
92cd86d3f2
Ignore Remove-Item errors in Split-Path setup
2015-08-28 20:13:10 -07:00
Andrew Schwartzmeyer
7b1280eb2e
Refactor Split-Path regexp test
...
Fix issues with ordering etc.
2015-08-28 17:40:15 -07:00
Andrew Schwartzmeyer
5bdae5f77e
Merge branch 'develop' into dev/112-split-path-pester
2015-08-28 17:39:08 -07:00
Zachary Folwick
534de9d15f
Match array instead of testing elements
...
So that we can ignore the ordering from the regexp
2015-08-28 17:03:42 -07:00
Zachary Folwick
10c772829d
fixed unordering of files created during test
2015-08-28 16:06:27 -07:00
Andy Schwartzmeyer
60a1772a43
Merge pull request 133 from dev/164-GetComputerName-cherry into develop
2015-08-28 21:47:39 +00:00
Andrew Schwartzmeyer
6a88fe52aa
Fix GetComputerName xUnit test and repin monad
2015-08-28 14:45:56 -07:00
Zachary Folwick
93199735d8
added unit test for getting the machine name from the p/invoke
2015-08-28 14:35:04 -07:00
Zach Folwick
04e829ab6e
Merge pull request 121 from dev/182-remove-item into develop
2015-08-28 20:52:51 +00:00
Andy Schwartzmeyer
e68785ea26
Merge pull request 132 from dev/193-repin-monad into develop
2015-08-28 17:15:23 +00:00
Andrew Schwartzmeyer
913b5a97d0
Pin src/monad to develop-2015-08-28
...
Build files updated. Patches squashed and rebased.
2015-08-28 10:12:27 -07:00
Zachary Folwick
8501e6e4ab
fixing issue with errorAction not suppressed- produces false positives on the test logs
2015-08-26 15:55:44 -07:00
Zachary Folwick
8456bf9d4d
added modifications from code review.
2015-08-26 15:13:12 -07:00
Zachary Folwick
95ae8fd343
merging latest remote develop branch
...
Merge branch 'develop' of mshttps://msostc.visualstudio.com/DefaultCollection/PS/_git/monad-linux into dev/182-remove-item
2015-08-26 14:53:06 -07:00
Zachary Folwick
f8179859b1
bringing submodules up to date
2015-08-26 14:34:44 -07:00
Zachary Folwick
f475db96cb
using a created temp directory instead of the root temp directory.
2015-08-26 14:30:02 -07:00
Zachary Folwick
38c1047eba
Added logic to handle failing jenkins test
2015-08-26 12:56:38 -07:00
Zachary Folwick
f4ea2ba4f8
added tests from CR
2015-08-26 11:17:52 -07:00
Zachary Folwick
df2a4939ed
added code review changes
2015-08-26 10:53:36 -07:00
Zachary Folwick
e0f6b1fa0b
added New-Item Test Suite
2015-08-25 14:46:29 -07:00
Zachary Folwick
1c1c1dacaa
turned repeated string into a variable
2015-08-25 10:15:21 -07:00
Zachary Folwick
f919006d46
re-ordered tests to indicate a logical progression to facilitate
...
debugging
added tests to validate individual environmental variables
2015-08-24 15:05:32 -07:00
Zachary Folwick
ed86ae170e
added tests to validate individual environmental variables
2015-08-24 14:47:06 -07:00
Zachary Folwick
f739305502
deleted superfluous assertion
2015-08-24 13:54:13 -07:00
Zachary Folwick
a0ba3b6b8f
modified to work under jenkins
2015-08-24 13:39:24 -07:00
Zachary Folwick
1d447bd470
updating branch
...
Merge branch 'develop' of mshttps://msostc.visualstudio.com/DefaultCollection/PS/_git/monad-linux into dev/171-environmental-variable-test-bug
2015-08-24 13:05:16 -07:00
Zachary Folwick
972734cbc8
Merge branch 'develop' of ms https://msostc.visualstudio.com/DefaultCollection/PS/_git/monad-linux into dev/112-split-path-pester
...
Conflicts:
src/monad
2015-08-24 11:48:22 -07:00
Zachary Folwick
4ded5c5cd9
added environment variable tests
2015-08-24 11:38:32 -07:00
Zachary Folwick
adb2e66c91
removed typos
2015-08-24 10:06:48 -07:00
Andrew Schwartzmeyer
1a3d4aa9a6
Refactor host usage
...
Build scripts and powershell-simple.cs were refactored to work with the
patch to CoreCLR and updated hosting code.
- Paths in Makefile were fixed because the hosting code runs the
assembly from the current working directory (usually app_base)
- runps scripts were all fixed because the hosting code CLI changed
- powershell-simple.cs was cleaned up because its Main function is now
directly executed
- monad submodule was repinned while we had the change
- monad-ext submodule was updated with rebuild CoreCLR binaries
- monad-native submodule was repinned to development, including fixed
test and hosting code changes
2015-08-21 17:43:46 -07:00
Zachary Folwick
8091785240
Fixed whitespace and directory test assertions
2015-08-21 15:57:34 -07:00
Zachary Folwick
95e932d6d0
removed AfterEach block because it's not required
2015-08-21 15:51:27 -07:00
Zachary Folwick
632a11a6c6
fixed typo using parent switch
2015-08-21 14:58:34 -07:00
Zachary Folwick
8458e5779e
brought in submodule changes and modded test to not expect the / to be removed in the path
2015-08-21 14:34:00 -07:00