Zach Folwick
5d81f12b49
Add Experimental .NET Core Debugging in VS Code
...
[skip ci]
2016-03-14 12:29:15 -07:00
Zachary Folwick
a2c7b13405
Fix ConvertTo-Csv tests
...
Assert that this cmdlet uses collections internally, which does not rely
on order.
2016-01-06 12:57:14 -08:00
Zachary Folwick
a6d5b17c73
corrected Split-Path tests
2015-12-29 09:49:46 -08:00
Zachary Folwick
1a2b29b4d1
fixed cross-platform support
2015-12-28 15:59:55 -08:00
Zachary Folwick
b54a0547b5
Changed platform OS test in Get-PSDrive tests
2015-12-28 15:43:24 -08:00
Zachary Folwick
9813d3d4b3
Removed spurious tests
2015-12-28 11:12:46 -08:00
Zachary Folwick
de2af02ff7
Environment-Variables.Tests.ps1
2015-12-28 11:05:48 -08:00
Zachary Folwick
1b4276f563
Added test to validate that fields are getting populated
2015-12-28 10:39:36 -08:00
Zachary Folwick
05989fe455
moved alias test to its own test case
2015-12-28 10:15:19 -08:00
Zachary Folwick
3eb2f5751b
Merge branch 'master' into dev/cross-platform-pester
2015-12-28 10:01:39 -08:00
Zachary Folwick
b1c12450df
Added tests for Write-Debug, Write-Verbose, Write-Error cmdlets
2015-12-22 09:55:20 -08:00
Zachary Folwick
ba7e0e8aa0
Added New-Timespan tests
...
- fixed whitespace and minor typos
- added tests to increase test coverage of function and test the output
- increased failure threshold to one hundredth of a second
2015-12-22 09:50:03 -08:00
Zachary Folwick
37b4eccb5b
Added Pester tests for Get-FileHash
2015-12-04 10:37:38 -08:00
Zachary Folwick
39f4d1f4db
added cross-platform support for split-path tests
2015-12-01 12:02:22 -08:00
Zachary Folwick
c9113c29b5
added cross-platform NewLine Support
2015-12-01 10:44:32 -08:00
Zachary Folwick
11a0953545
Made newline characters cross-platform
2015-12-01 10:40:36 -08:00
Zachary Folwick
0d6b02a751
added -Force parameter to ensure object creation
2015-12-01 10:33:13 -08:00
Zachary Folwick
0c1be1bf12
Modified tests for cross-platform testing
...
1. removed the context block.
2015-12-01 10:30:27 -08:00
Zachary Folwick
de7b244a37
modified tests to make them work on Windows
2015-12-01 10:18:09 -08:00
Zachary Folwick
5d31b0affd
added cross-platform newline support
2015-11-30 15:11:11 -08:00
Zachary Folwick
4319987dd1
removed a very platform-specific and time specific test for new-item
2015-11-30 15:07:13 -08:00
Zachary Folwick
d9b927782b
fixed get-UICulture to work cross-platform
2015-11-30 15:03:39 -08:00
Zachary Folwick
da21e24365
fixed get-psdrive test to work cross-platform
2015-11-30 15:00:11 -08:00
Zachary Folwick
f267c29942
modified check to test environment setting
2015-11-30 14:47:36 -08:00
Zachary Folwick
a809d99ffd
Specified ItemType as it was causing errors in Windows
2015-11-30 14:42:23 -08:00
Zachary Folwick
8b924ad683
used HOME directory since that will always exist on the test machine on windows and linux
2015-11-30 14:39:17 -08:00
Zachary Folwick
720a430e47
added support for global newline characters
2015-11-30 14:35:23 -08:00
Zachary Folwick
1a59ba676c
Made Environment tests cross-platform. Added logic in to run under windows or linux- this will change when we set the environment variables
2015-11-30 14:01:19 -08:00
Zachary Folwick
c8a3aed935
Made Test-Path tests cross-platform
...
1. wrapped braces because apparently that was required in linux.
2. added a beforeAll and AfterAll section to prepare and cleanup the
test suite.
3. removed superfluous test.
4. Fixed issue with invalid path
2015-11-30 13:41:18 -08:00
Zachary Folwick
b151913b02
Added Remove-Breakpoint tests
2015-11-19 16:02:11 -08:00
Zachary Folwick
8f7a9e70c1
removed E2Etestfunctions because it serves no purpose, and automation cleans up tests
2015-11-19 14:42:45 -08:00
Zachary Folwick
ef7bb138a8
Merge branch 'dev/set-psbreakpoint' of https://msostc.visualstudio.com/DefaultCollection/PS/_git/monad-linux into dev/set-psbreakpoint
2015-11-19 14:40:24 -08:00
Zachary Folwick
beb3d63452
replaced breakpoint tests with better tests that actually test that actually verify behavior
2015-11-19 14:38:18 -08:00
Zachary Folwick
384d81ca21
modified and added tests according to PR
2015-11-19 11:44:26 -08:00
Zachary Folwick
49fc46ad4f
Added write-verbose tests
2015-11-19 11:29:16 -08:00
Zach Folwick
90202d0f59
Merge pull request 293 from dev/write-error into develop
...
Merge dev/write-error to develop
2015-11-19 19:24:02 +00:00
Zachary Folwick
5b433eee88
for jenkins build and creating PR
2015-11-18 16:29:52 -08:00
Zachary Folwick
7d904d91fa
added write-output pester tests
2015-11-18 16:26:01 -08:00
Zachary Folwick
19358f8060
added write-error tests
2015-11-18 15:59:00 -08:00
Zach Folwick
22ebd97bff
Merge pull request 289 from dev/measure-object2 into develop
...
fixed typo
2015-11-17 18:45:47 +00:00
Zachary Folwick
80d68f7ebc
fixed typo
2015-11-17 10:43:27 -08:00
Zach Folwick
ddc8fdd9c5
Merge pull request 288 from dev/measure-object-rebase into develop
...
added numeric tests to verify number capabilities and corrected bad
2015-11-17 18:35:15 +00:00
Zachary Folwick
444a4db8c9
resolved merge conflicts with origin/develop
2015-11-17 10:34:19 -08:00
Zachary Folwick
034f90e3e5
added numeric tests to verify number capabilities and corrected bad
...
assumptions
2015-11-17 10:29:58 -08:00
Zach Folwick
284b2d2954
Merge pull request 287 from dev/measure-object into develop
...
corrected bad test assumptions
2015-11-17 18:12:39 +00:00
Zachary Folwick
4ac323b4f3
fixed merge conflicts
2015-11-17 10:10:14 -08:00
Zachary Folwick
984a62a147
corrected bad test assumptions
2015-11-17 09:57:24 -08:00
Zach Folwick
6711e72a76
Merge pull request 285 from dev/measure-object into develop
...
added Measure-Object tests. There are considerable differences between
2015-11-17 17:46:38 +00:00
Zachary Folwick
51cd991ffe
corrected bad test assumptions
2015-11-17 09:46:40 -08:00
Zachary Folwick
29baeac0da
added numeric tests to verify number capabilities
2015-11-17 09:34:58 -08:00
Zachary Folwick
f6b512cafb
added tests per code Review
2015-11-16 16:45:20 -08:00
Zachary Folwick
e10b129aac
Merge branch 'develop' into dev/measure-object
2015-11-16 12:43:01 -08:00
Zachary Folwick
1cd02ed5a1
bring in changes from monad to fix measure-object counting issue
2015-11-16 12:03:58 -08:00
Zachary Folwick
33772b2ee2
Create PR
2015-11-16 11:52:36 -08:00
Zachary Folwick
c41dab4600
added End to End testable initial script for manually testing Get-PSCallStack
2015-11-13 15:10:24 -08:00
Zachary Folwick
7d5d874d11
added Measure-Object tests. There are considerable differences between different versions of PowerShell
2015-11-13 10:57:25 -08:00
Zach Folwick
22ea87d3c7
Merge pull request 273 from dev/out-string into develop
...
added Out-String tests
2015-11-11 23:56:15 +00:00
Zach Folwick
063d65eedd
Merge pull request 274 from dev/get-typedata into develop
...
added Get-TypeData tests
2015-11-11 23:47:06 +00:00
Zach Folwick
e296dd9217
Merge pull request 275 from dev/get-random3 into develop
...
Previous push got lost
2015-11-11 22:45:24 +00:00
Zachary Folwick
b823dd7edd
added Get-TypeData tests
2015-11-10 16:06:24 -08:00
Zachary Folwick
1d0cb329aa
added Out-String tests
2015-11-10 12:09:30 -08:00
Zach Folwick
d232dd1248
Merge pull request 267 from dev/get-date2 into develop
...
added test and renamed file
2015-11-09 20:15:07 +00:00
Zachary Folwick
aca21860c3
removed old titled version
...
1. fixed typo
2015-11-09 12:08:03 -08:00
Zachary Folwick
ad62897135
added test and renamed file
2015-11-09 10:59:21 -08:00
Zach Folwick
fe6ceabbd7
Merge pull request 264 from dev/variable-tests into develop
...
Merge dev/variable-tests to develop
2015-11-09 17:11:02 +00:00
Zachary Folwick
6e496e3530
fixed broken tests; the issue here is that powershell scoping is difficult for testing in pester
2015-11-06 15:21:39 -08:00
Zach Folwick
f343982b84
Merge pull request 262 from dev/host-culture-tests into develop
...
Merge dev/host-culture-tests to develop
2015-11-06 19:39:00 +00:00
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
Zachary Folwick
298ac17a07
added export-alias basic tests
2015-11-04 16:43: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
Zachary Folwick
e884990d61
added additional tests to ConvertTo-Csv tests
2015-11-03 11:44:51 -08: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
Zachary Folwick
fe3608da57
made powershell work with additional argument logic
2015-11-02 15:04:40 -08: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
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
Zachary Folwick
24263a7524
Added test to validate ConvertTo-Csv
2015-10-30 14:43:48 -07:00
Zach Folwick
2139173dbe
Merge pull request 230 from dev/console-prompt into develop
...
Merge dev/console-prompt to develop
2015-10-30 17:58:56 +00:00
Zachary Folwick
a20d80c099
added todo message for later completion
2015-10-30 10:57:02 -07:00
Zachary Folwick
cc578caf38
changed query to get the HOME environment variable, since that's what we're really going for and won't break under root
2015-10-30 10:24:21 -07:00
Zachary Folwick
5680a1d6c2
added code to allow navigation via by querying the environment variable. This appears to be how it's already done in linux
2015-10-29 15:58:47 -07:00
Zachary Folwick
84b60d6be4
added ConvertFrom-Csv tests
2015-10-29 14:55:09 -07:00
Zach Folwick
eb05ca2e4e
Merge pull request 228 from dev/convertFrom-stringdata into develop
...
added convertFrom-StringData pester tests to parse structured data
2015-10-28 21:30:01 +00:00
Zachary Folwick
62f986a6f3
added convertFrom-StringData pester tests to parse structured data
2015-10-28 11:38:24 -07:00
Zachary Folwick
78e8e83555
made the text output b/w instead of white on a green background
2015-10-27 17:33:17 -07:00
Zachary Folwick
718ecb6005
made debug text yellow and background the default color
2015-10-27 17:32:38 -07:00
Zachary Folwick
dbc14ff1ea
moved logic for prompt to prompt function, simplifying the main loop
2015-10-27 17:25:01 -07:00
Zach Folwick
2ed6352908
Merge pull request 223 from dev/powershell-run into develop
2015-10-27 19:16:16 +00:00
Zach Folwick
77a1b97d5b
Merge pull request 222 from dev/pop-location into develop
2015-10-27 19:16:04 +00:00
Zachary Folwick
2b353e0b45
deleted test1 method because it's no longer used
2015-10-27 12:07:57 -07:00
Zachary Folwick
d4640e84c4
modified the colors of the runtime shell to not look horrible
2015-10-27 11:57:21 -07:00
Zachary Folwick
01b7c28272
added pop-location tests
2015-10-27 11:20:35 -07:00
Zach Folwick
b800f028a2
Merge pull request 219 from dev/temp into develop
2015-10-27 17:27:58 +00:00
Zachary Folwick
a8215e0c73
made the shell target have a TEMP directory of /tmp
2015-10-27 10:19:48 -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
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