James Truher [MSFT]
b211f5f59b
Add query to track action plan in issues ( #2439 )
...
fix ActionPlan list to be formatted correctly
2016-10-10 18:55:31 +00:00
Mike Richmond
e188c992e8
Fixing JSON property accessor to attempt user settings directory creation on the first write operation
2016-10-07 21:45:38 -07:00
iSazonov
6ef590dee3
Fix Get-WinEvent -FilterHashtable to work with named event data field ( #2373 )
...
Fix Get-WinEvent -FilterHashtable to work with named event data field
Now FilterHashtable parameter in Get-WinEvent for named data field:
1. generates a valid query, ex. @{Logname="System";Param="a"}
2. generates a valid query for multiple values, ex.
@{Logname="System";Param="a","b"}
Also removed double cast in the original code and added more tests to cover the fixed scenarios.
2016-10-07 11:48:08 -07:00
Christopher Ubben
62d7961aa8
Added feature level test coverage to FileSystem provider ( #2416 )
2016-10-07 10:36:13 -07:00
Joey Aiello
3873ff1227
Add PowerShell-RFC link to README ( #2431 )
...
* Update README.md
* Update README.md
since we're being pedantic :)
2016-10-06 11:26:13 -07:00
James Truher [MSFT]
b89533f123
First draft of test roadmap plan ( #2332 )
...
Add test roadmap plan document
Update document with clarifying language for code coverage
Also add an acceptance criteria for remoting tests
include Jenkins with mention of MS Build Lab for possible test infrastructure
2016-10-05 16:50:35 -07:00
Dongbo Wang
e078b0acb7
Use 'CurrentCulture' for error message and update test to clean up resources
2016-10-05 16:18:50 -07:00
charub
d2feb51132
Added testcase for validating invalid filepath scenario. ( #1749 )
2016-10-05 16:18:50 -07:00
charub
6526968947
Fix Start-Transcript input path validation issues. ( #1749 )
2016-10-05 16:18:50 -07:00
charub
88d64c243e
Fix Start-Transcript input path validation ( #1749 )
2016-10-05 16:18:50 -07:00
Christopher Ubben
5da825bdb1
Added feature level test coverage to Alias provider ( #2419 )
2016-10-05 14:46:52 -07:00
Andrew Schwartzmeyer
4298f11fa4
Fix VS Code debug output ( #2425 )
2016-10-05 10:47:33 -07:00
Christopher Ubben
0e190e0bb8
Added feature level test coverage to PSDrive provider ( #2418 )
2016-10-04 13:11:33 -07:00
Andrew Schwartzmeyer
cc8842c631
Add .NET Core debug build instructions ( #2410 )
...
These are thanks to Eric St John from .NET Core.
2016-10-04 13:10:19 -07:00
Dongbo Wang
13455204a4
Fix variable assignment to not overwrite readonly/constant variables ( #2400 )
2016-10-03 15:25:52 -07:00
Dongbo Wang
5fbde6eb40
Fix bytewise operators to work on enum types with 'System.Byte' as the underlying type ( #2411 )
2016-10-03 15:24:39 -07:00
Andrew Schwartzmeyer
f62dd4bf54
Allow Start-PSBuild -Output to take absolute path ( #2398 )
...
There was no point to using Join-Path here,
but it made it impossible to specify absolute paths
(or any path outside of the PowerShell repo).
2016-10-03 11:04:40 -07:00
Chris Ubben
9885917481
Adding test coverage for Variable provider
2016-10-03 10:39:32 -07:00
Aditya Patwardhan
3700d108b3
Start process test ( #2397 )
...
Mark test as pending to unblock daily builds
2016-09-30 16:33:42 -07:00
Aditya Patwardhan
877c193af0
Add RequireAdminOnWindows tag for install-package tests ( #2390 )
...
Add the tag RequireAdminOnWindows tags so that these tests do not fail on
daily builds.
2016-09-29 18:13:33 -07:00
Mike Richmond
374e1d1b21
Merge pull request #2280 from vors/admin-tests
...
Separate tests on Windows CI to Admin-Required and Non-Admin-Required
2016-09-29 16:28:29 -07:00
Aditya Patwardhan
f1270cdc28
Add PS_DAILY_BUILD variable check in Test-DailyBuild ( #2386 )
...
The PS_DAILY_BUILD variable is set in the Appveyor environment in the
PowerShell [Daily] project. When this is set we want to have full daily
build.
2016-09-29 16:26:34 -07:00
James Truher [MSFT]
24f9dea287
Add tests for queries against userdata ( #2388 )
...
add a custom evtx file for the userdata tests to use
2016-09-29 16:23:12 -07:00
Sergei Vorobev
9cc905dea4
Add verbose comment about the execution policy test
...
'-Scope LocalMachine is Settable, but overridden'
2016-09-29 16:06:42 -07:00
Aditya Patwardhan
561824c306
Change fwlink to use http instead of https.
...
An issue was filed for corefx team for httpclient.getasync with https and
redirects. https://github.com/dotnet/corefx/issues/12171
2016-09-29 12:39:56 -07:00
Aditya Patwardhan
f31d4a5ac2
Add archive with test content to AppVeyor artifacts for daily builds.
...
The change adds Compress-TestContent cmdlet to build.psm1 so that it can
compress the powershell test content. This is done only for daily builds.
2016-09-29 12:38:12 -07:00
Sergei Vorobev
735bcca4d0
Allow ExecutionPolicy tests to throw specific type of error
...
Split LocalMachine test case into two separate tests:
- One without overriden policy (throws exception)
- One with overriden policy
2016-09-29 12:29:27 -07:00
Sergei Vorobev
a1ee6d840d
Make ExecutionPolicy.Tests.ps1 admin-aware
2016-09-29 12:29:27 -07:00
Sergei Vorobev
06d274995e
Make LocalGroup tests admin-aware
2016-09-29 12:29:27 -07:00
Sergei Vorobev
5fe1c431fa
Make Get-PesterTag allow only one scope tag (CI, Feature, Priority)
2016-09-29 12:29:27 -07:00
Sergei Vorobev
56489b17bc
Make Registry.Tests.ps1 admin-aware
2016-09-29 12:29:27 -07:00
Sergei Vorobev
ed36f037ae
Fix appveyor test runner logic for Admin and non-Admin tests
2016-09-29 12:29:27 -07:00
Sergei Vorobev
917bf5abc9
Fix bug about Admin tests defaults Start-PSPester in build.psm1
2016-09-29 12:29:27 -07:00
Sergei Vorobev
93495a4f54
Timezone tests require Admin on Windows
2016-09-29 12:29:27 -07:00
Sergei Vorobev
911c7d9976
Replace Transcription by *> redirection
...
due to the issue https://github.com/PowerShell/PowerShell/issues/2334
2016-09-29 12:29:27 -07:00
Sergei Vorobev
d1d82d03b4
Make Invoke-AppVeyorTest run elevated and non-elevated tests separately
...
- Add RequireAdminOnWindows to the list of blessed tags
- Fix a bug in Get-PesterTag where we accepted 'Slow' as a proper priority
- Fix missed comma in Start-PSPester parameters
- Add documentation about new Pester tag
- Fix finishing logic for Start-PSPester -Unelevate
2016-09-29 12:29:27 -07:00
Sergei Vorobev
339c7d80e4
Add Start-PSPester -Unelevated
...
That will enable running tests without Admin in CI
2016-09-29 12:29:27 -07:00
Sergei Vorobev
50b04212c6
Restructure PowerShellGet.Tests.ps1 to enable 'RequireAdminOnWindows' tagging
2016-09-29 12:29:27 -07:00
Sergei Vorobev
dcc10bc771
Change install scope for Install-PackageProvider.Tests.ps1
...
This helps avoid problem when run as non-elevated user.
2016-09-29 12:29:27 -07:00
Sergei Vorobev
fdc69f0c3f
Add 'RequireAdminOnWindows' tag to some tests suites
2016-09-29 12:29:27 -07:00
Dongbo Wang
124a59b8a8
Merge pull request #2363 from lzybkr/maxvars
...
Remove most Maximum* capacity variables
2016-09-28 17:28:16 -07:00
Jason Shirk (POWERSHELL)
39db1ec402
Add capacity test for initialsessionstate
2016-09-28 16:54:31 -07:00
Mike Richmond
0c9abbc9a4
Merge pull request #2379 from JamesWTruher/jameswtruher/moveEngineCoreTest
...
Move tests to more appropriate places now that we have the directory structure defined
2016-09-28 15:59:40 -07:00
Jason Shirk (POWERSHELL)
f252683e90
Remove SessionStateOverflowException
...
This exception is no longer used by PowerShell, so it has been removed.
It is a public api, so removing it risks breaking somebody. Nobody has any reason
to catch or throw this exception, so it seems safe to remove, but I decided to
be conservative and keep it for Windows PowerShell. It seems safe enough to remove
in Nano.
2016-09-28 15:47:08 -07:00
Dongbo Wang
d32bf23708
Merge pull request #2378 from JamesWTruher/jameswtruher/addwineventtest
...
Add additional tests for Get-WinEvent cmdlet
2016-09-28 15:35:26 -07:00
Manikyam Bavandla MSFT
c69520c261
Updating the ModuleVersion to 1.1.0.0
2016-09-28 15:33:05 -07:00
Manikyam Bavandla MSFT
16b86bfb89
Merging the changes from Windows Source Depot.
...
Change details:
- Add metadata to the PowerShellGet.psd1
- Fixed special chars in PSGet.Resource.psd1
- Catalog signing verification changes from Windows Source Depot
2016-09-28 15:33:05 -07:00
James Truher
a8aeb55edb
Move tests to more appropriate places now that we have the directory structure defined
2016-09-28 14:57:50 -07:00
JamesWTruher
bfac47f3f1
Add return in BeforeAll to avoid running get-winevent cmdlet on non-Windows platforms
2016-09-28 14:29:47 -07:00
JamesWTruher
f1c854176d
Add additional tests for get-winevent for the xpath, xml and hashtable filters
...
Still left to do is handling the non-System queries (such as UserData)
2016-09-28 14:23:20 -07:00