Andy Schwartzmeyer
317aa750a2
Merge pull request 207 from dev/set-location into develop
2015-10-23 22:50:47 +00:00
Andy Schwartzmeyer
f7fb2d920c
Merge pull request 209 from dev/validate-pester into develop
2015-10-23 22:36:17 +00:00
Andrew Schwartzmeyer
6ee20b8f71
Fix startDirectory
...
Needed to move initial tests below the assignment
2015-10-23 15:33:32 -07:00
Andrew Schwartzmeyer
b1cceeaa78
Ignore dirty pester submodule
...
The pester-self-tests leave behind unignored artifacts
2015-10-23 15:03:43 -07:00
Andrew Schwartzmeyer
b0dd714a1b
Fix some Pester self-tests
2015-10-23 15:01:42 -07:00
Andrew Schwartzmeyer
5809a2bad3
Add $(SCRIPTS) variable
2015-10-23 14:50:41 -07:00
Zachary Folwick
b80e66581d
Added code that runs the pester tests, verifying that the unit test framework works as expected
2015-10-23 14:38:50 -07:00
Andy Schwartzmeyer
3884de80d1
Merge pull request 208 from dev/host_cmdline into develop
2015-10-23 20:33:37 +00:00
Andrew Schwartzmeyer
b98245d6fe
Update monad-native submodule
2015-10-23 12:27:58 -07:00
Andrew Schwartzmeyer
045c4bc271
Remove -alc from host_cmdline arguments
2015-10-23 12:25:21 -07:00
Andrew Schwartzmeyer
ddfa85b312
Use PWRSH_ROOT instead of -tpa
2015-10-23 12:25:21 -07:00
Andrew Schwartzmeyer
f9217fdd11
Use CORE_ROOT instead of -c
2015-10-23 12:23:13 -07:00
Zachary Folwick
89ea2ea6d5
fixed issue with ending the test suite correctly. The current method is still brittle, however, so we shall have to come up with a better solution soon
2015-10-23 12:17:35 -07:00
Zachary Folwick
e6d1b53c15
fixed test issue causing issues with other tests
2015-10-23 12:07:49 -07:00
Zachary Folwick
85d352db89
1. renamed Test-Push-Location to be in line with new naming standards.
...
2. Set-Location: moved the start directory assignment into a context
block because of powershell/pester quirks
2015-10-23 10:46:44 -07:00
Zachary Folwick
4d0ec8ddca
added set-location tests
2015-10-23 10:01:44 -07:00
Andy Schwartzmeyer
4117040081
Merge pull request 206 from dev/rename-pester-tests into develop
2015-10-23 00:24:36 +00:00
Andy Schwartzmeyer
22df4053e8
Merge pull request 203 from dev/submodules into develop
2015-10-22 23:53:35 +00:00
Zach Folwick
22e4489b1b
Merge pull request 205 from dev/push-location into develop
2015-10-22 23:37:58 +00:00
Zachary Folwick
46bee0c6e0
removed old naming scheme references
2015-10-22 16:35:31 -07:00
Zachary Folwick
db3f9d9df4
remove reference to old naming convention in the Describe block
2015-10-22 16:32:36 -07:00
Zachary Folwick
ad2a0270d2
tabs to spaces
2015-10-22 16:05:18 -07:00
Zachary Folwick
5719efe82c
rename pester tests to something less redundent
2015-10-22 16:02:38 -07:00
Zachary Folwick
d0f7bca85e
added a return to the starting directory
2015-10-22 15:54:38 -07:00
Zachary Folwick
fba151a54a
cleaned up formatting
2015-10-22 15:11:07 -07:00
Zachary Folwick
9793ff29ad
added push-location tests
2015-10-22 14:50:22 -07:00
Zach Folwick
fb22eabd90
Merge pull request 204 from dev/new-alias into develop
2015-10-22 17:59:37 +00:00
Zachary Folwick
67367dd46f
Added new-alias pester tests
2015-10-22 10:55:58 -07:00
Andrew Schwartzmeyer
589217fea7
Update cppunit and pester
2015-10-22 09:47:54 -07:00
Zach Folwick
534175371d
Merge pull request 198 from dev/set-psdebug into develop
2015-10-22 16:33:07 +00:00
Zach Folwick
433eb157fd
Merge pull request 202 from dev/set-psbreakpoint into develop
2015-10-22 16:32:54 +00:00
Zachary Folwick
f55d1b3fc6
fixed typo
2015-10-22 09:27:21 -07:00
Zachary Folwick
000f73c79b
added testable script for testing script calls. Currently required by set-psbreakpoint
2015-10-22 09:20:09 -07:00
Andrew Schwartzmeyer
fe95138485
Pin monad and pester submodules to develop branchs
...
This only affects updating with `git submodule update --remote`, which
will fetch and checkout the corresponding branch (defaulting to master
for most of our submodules) instead of the recorded commit.
Note that the submodule will still be checked out to a detached head, as
it should be.
2015-10-22 09:15:22 -07:00
Zachary Folwick
0325edc326
added set-psbreakpoint tests
2015-10-22 09:15:19 -07:00
Zach Folwick
b136266816
Merge pull request 200 from dev/Pester-linux-fix into develop
2015-10-21 21:12:19 +00:00
Andy Schwartzmeyer
4ca47b3746
Merge pull request 199 from dev/move-monad into develop
2015-10-21 20:44:50 +00:00
Andrew Schwartzmeyer
c0293f1175
Move monad to msostc
...
Run `git submodule sync` to update monad's remote.
diff --git c/.gitmodules i/.gitmodules
index 61529ee9f..3794c1aa8 100644
--- c/.gitmodules
+++ i/.gitmodules
@@ -1,6 +1,6 @@
[submodule "src/monad"]
path = src/monad
- url = https://microsoft.visualstudio.com/DefaultCollection/PowerShell.Monad/_git/monad-sync1
+ url = https://msostc.visualstudio.com/DefaultCollection/PS/_git/monad
[submodule "ext-src/cppunit"]
path = ext-src/cppunit
url = git://anongit.freedesktop.org/git/libreoffice/cppunit/
2015-10-21 12:37:59 -07:00
Zachary Folwick
7b3946f498
assigned TEMP environment variable when make shell
2015-10-21 10:59:53 -07:00
Zachary Folwick
44115c0763
added set-debug tests
2015-10-21 10:13:06 -07:00
Andy Schwartzmeyer
dc50755f91
Merge pull request 197 from dev/repin-monad into develop
2015-10-21 16:12:39 +00:00
Andrew Schwartzmeyer
9bd75bf60c
Repin monad submodule
...
Still on microsoft.visualstudio.com, but repinned to latest fixes on
develop branch.
2015-10-20 16:03:02 -07:00
Andy Schwartzmeyer
88aa64538a
Merge pull request 196 from dev/fix-hashbang into develop
2015-10-20 22:57:42 +00:00
Andrew Schwartzmeyer
91cf0e8c76
Make runps-file to use runps-simple & script.ps1
...
Works much better. Removes dependency on `--file` switch in our
executable (which is not a PowerShell thing) and instead uses the
canonical method of launching a script/executable in PowerShell (the
ampersand). Coincidentally, this now makes the output not depend on a
TTY, and so `monad-run make hashbang-tests` now works as expected.
2015-10-20 15:34:21 -07:00
Andrew Schwartzmeyer
aa7094bdb8
Fix bug in hashbang-tests target
2015-10-20 15:34:21 -07:00
Andy Schwartzmeyer
042f6067dc
Merge pull request 195 from dev/import-csv into develop
2015-10-20 22:12:15 +00:00
Andrew Schwartzmeyer
30b2c1fe37
Fix pester-tests relative file handling
...
- `APP_BASE` was made into an absolute path
- `%.ps1` target now runs without `--file` but instead with `&`
- ^ also cd's into pester-tests first
2015-10-20 15:10:04 -07:00
Andrew Schwartzmeyer
67deba1a2a
Rename TestAssets to assets
2015-10-20 14:55:12 -07:00
Zachary Folwick
d383b83964
added line to copy TestAssets directory over to working directory used in the build process
2015-10-20 12:19:55 -07:00
Zachary Folwick
592c05c404
Added a test assets folder to contain csv/html/xml/json/etc files required for reading in
2015-10-20 12:18:43 -07:00