James Truher [MSFT]
a469783e76
Harden some problematic release tests ( #20155 )
2023-08-28 10:55:25 -07:00
James Truher [MSFT]
ee13bb9f05
Add more debugging to try to determine why these test fail in release build. ( #19829 )
2023-07-05 07:40:30 -07:00
James Truher [MSFT]
ba0de3b4fe
Add some debugging to the transcript test for SilentlyContinue ( #19770 )
2023-06-12 17:03:53 -07:00
James Truher [MSFT]
7ee22063c5
Improve package management acceptance tests by not going to the gallery ( #19412 )
2023-03-27 14:54:53 -07:00
Dongbo Wang
fe11ba48b5
Re-enable PowerShellGet tests targeting PowerShell gallery ( #17062 )
2022-03-25 15:10:43 -07:00
Aditya Patwardhan
1268a0a04f
Update .NET to 7.0.0-preview.2 build ( #16930 )
2022-03-18 09:10:53 -07:00
Aditya Patwardhan
77caf718cd
Update projects and scripts to use .NET 7 preview 1 pre-release builds ( #16856 )
...
* Update script to consume .NET 7 builds
* Update target framework
* Add dotnet metadata override value
* Update dependencies
* Update analyzer
* Conditionally add output argument
* Update files.wxs
* Fix tests
* Update Microsoft.PowerShell.Native to 7.3.0-preview.1
* Disable psget tests
* Update to latest build for .NET 7 preview 1
* Disable ready to run
* Update version of `Microsoft.AspNetCore.Mvc.NewtonsoftJson` package
* Update cgmanifest and startup test
2022-02-16 09:56:41 -08:00
xtqqczze
f4382202ae
Use correct casing for cmdlet name and cmdlet parameter name in *.ps1 files ( #12584 )
2020-05-07 17:00:30 +05:00
Steve Lee
b7cb335f03
Update copyright notice to latest guidance ( #12190 )
2020-03-24 11:08:37 -07:00
xtqqczze
863528881f
Use https in URLs where available ( #8622 )
...
Use https in URLS across the repository where the domain serves content by https.
2019-01-24 12:50:11 -08:00
Andrew
bc5fe72096
Updating test gallery URL in PackageManagement tests ( #7879 )
2018-09-27 14:23:10 -07:00
Kevin Marquette
404e876740
Use new Pester syntax: -Parameter for Pester tests in modules: PowerShellGet, PackageManagement, PSReadLine ( #6488 )
2018-03-30 09:22:26 +04:00
Steve Lee
c1c5344a88
Update copyright and license headers ( #6134 )
...
Based on standard practices, we need to have a copyright and license notice at the top of each source file. Removed existing copyrights and updated/added copyright notices for .h, .cpp, .cs, .ps1, and .psm1 files.
Updated module manifests for consistency to have Author = "PowerShell" and Company = "Microsoft Corporation". Removed multiple line breaks.
Separate PR coming to update contribution document for new source files: #6140
Manually reviewed each change.
Fix #6073
2018-02-13 09:23:53 -08:00
bergmeister
ffd39b2853
PSScriptAnalyzer fixes by category ( #4261 )
...
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'ForEach-Object' (alias is '%' or 'foreach')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Where-Object' (alias is '?' or 'where')
- Fix PSScriptAnalyzer warnings of type PSAvoidUsingCmdletAliases for 'Select-Object' (alias is 'select')
- Fix PSScriptAnalyzer warnings of type PSPossibleIncorrectComparisonWithNull. Essentially, $null has to be on the left-hand side when using it for comparison.
- A Test in ParameterBinding.Tests.ps1 needed adapting as this test used to rely on the wrong null comparison
- Replace a subset of tests of kind '($object -eq $null) | Should Be $true' with '$object | Should Be $null'
2017-07-21 21:03:49 -07:00
James Truher [MSFT]
9aa693dfb3
Jameswtruher/travisdaily2 ( #2842 )
...
* Assign $ProgressPreference = "SilentlyContinue" to reduce output size
Travis is still complaining that the log file is too big, eliminating progress is
another step to reducing output. It's also not needed for our CI environment.
* Removed white space at end of lines
* fix misplacement of progress preference setting
also fix up trailing whitespace
2016-12-06 13:58:57 -08:00
Manikyam Bavandla
67e9bf6376
- Fixed failing PackageManagement related tests in daily-builds ( #2759 )
...
- Updated Restore-PSModule function to delete the PSGetModuleInfo.xml so that this file will not be included in the PowerShell release.
- Since PackageManagement module gets installed with PowerShellGet module, removed PackageManagement module name in Restore-PSModule command invocation.
2016-11-21 17:36:51 -08:00
Jianyun Tao
00d5f9c884
remove packagemanagement test code
2016-11-19 23:52:16 -08:00
Jianyun Tao
a61f70f2e7
Add PackageManagement acceptance test cases
2016-11-19 23:52:16 -08: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
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
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
Dongbo Wang
58a2ba730d
Merge pull request #2046 from xiaoyinl/use-https-links
...
Use HTTPS links for go.microsoft.com
2016-09-01 17:23:09 -07:00
Sergei Vorobev
1638bdf3e6
Merge pull request #2063 from jsoref/spelling-test
...
spelling fixes: tests
2016-08-31 14:13:49 -07:00
Travis Plunk
a814e6660c
Mark failing test as pending
2016-08-31 12:17:07 -07:00
Josh Soref
2badb244de
spelling fixes: test
2016-08-25 17:49:32 +00:00
xiaoyinl
f538eeb416
Use HTTPS links for go.microsoft.com
...
I replace all occurrences of http://go.microsoft.com with https://go.microsoft.com in text files.
2016-08-23 21:21:31 -04:00
Jason Shirk
8b056776c0
Stop using 'Open PowerShell' and OPS in code ( #1838 )
2016-08-16 17:03:34 -07:00
James Truher
456bc4da6b
marked some package tests as feature rather than CI
2016-07-27 12:06:51 -07:00
James Truher
1b9565ae89
add tags to describe blocks that didn't have any tags
2016-07-27 12:06:51 -07:00
James Truher
a784149b36
all tests are now marked with proper tag
...
also, update build.psm1 to be more flexible
2016-07-27 12:06:51 -07:00
James Truher
9e225ccae2
changes tags for tests
...
Start using tags CI, Feature, Scenario
2016-07-27 12:06:51 -07:00
Travis Plunk
ffe0a250a9
Changed Find-Package test to 'SLOW'
2016-07-20 16:28:32 -07:00
Andrew Schwartzmeyer
a51b8d500b
Mark feed dependent NuGet tests as pending
...
The feed/credential combo has stopped working, breaking all CI runs.
2016-07-19 15:30:23 -07:00
Andrew Schwartzmeyer
f9ed7e84fb
Mark failed NuGet test as pending
...
Once the clean-up stage on Linux / OS X was fixed, this test stopped
passing. This test should be fixed.
2016-07-19 15:12:12 -07:00
Andrew Schwartzmeyer
472947bf76
Fix use of rm alias in tests
...
This is not an alias on Linux / OS X.
2016-07-19 15:12:12 -07:00
Quoc Truong
d7309a2435
Remove test that calls powershell
2016-07-14 09:56:35 -07:00
Quoc Truong
24eaf67917
Remove install contoso credential test
2016-07-13 16:36:29 -07:00
Quoc Truong
6338d8c33a
Remove scope test for install-package in nuget.tests.ps1
2016-07-13 15:58:05 -07:00
Quoc Truong
67bc478695
Fix test failure for Install-PackageProvider.tests.ps1 on Windows
2016-07-13 15:39:52 -07:00
quoctruong91
a041c44c5b
Fix a test failure where path name is not in the correct case
2016-07-13 01:34:38 -07:00
quoctruong91
8253bb9b85
Fix NuGet.tests.ps1 failure
2016-07-13 01:09:47 -07:00
quoctruong91
987faf03a7
Remove test that requires installing packages that has dependencies
2016-07-13 00:34:43 -07:00
quoctruong91
50c3e5bfc8
Fix Install PackageProvider failure because we are not running on administrator
2016-07-12 21:17:11 -07:00
Quoc Truong
c978927947
Fix Nuget tests
2016-07-12 21:17:11 -07:00
Quoc Truong
85955352fe
Fix test failures for PackageManagement
2016-07-12 21:17:11 -07:00
PowerShell Team
55b8cd1da6
Import source-depot tests for PackageManagement
2016-07-12 21:17:11 -07:00