-
Notifications
You must be signed in to change notification settings - Fork 394
Pester v5 #1444
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Pester v5 #1444
Changes from 77 commits
Commits
Show all changes
85 commits
Select commit
Hold shift + click to select a range
2811ab7
Replace usage of $MyInvocation.MyCommand.Pat with $PSScriptRoot and c…
d4f54f5
Fix 2 small mistakes, test should now be green again
eeb251f
Adapt build.psm1
36d213a
Engine tests migration to Pester v5
b25714d
use pester v5 in ci and always upload test results
a498236
Upgrade Rule tests to Pester v5 using BeforeAll block and addressing …
765aad3
-AllowPrerelease
7a67f0e
try bootstrap in wmf4
9d17571
fix invoke-pester call in CI
2de4c20
fix CorrectionExtent.tests.ps1
a10983e
fix Helper.tests.ps1
c6dd640
Fix remaining tests with BeforeAll/AfterAll (discovery works now)
35ed07c
fix UseUsingScopeModifierInNewRunspaces.tests.ps1
a350f2b
make test cases more readable
5350e87
cleanup UseUsingScopeModifierInNewRunspaces.tests.ps1
f2e37f3
Fix UseShouldProcessForStateChangingFunctions.tests.ps1
2a9fa9f
cleanup UseShouldProcessForStateChangingFunctions.tests.ps1
a5df593
Fix PSCompatibilityCollector/Tests/UtilityApi.Tests.ps1
b6e6fda
Fix InvokeScriptAnalyzer.tests.ps1
bce0a88
Format InvokeScriptAnalyzer.tests.ps1
afb1b98
Fix ModuleHelp.Tests.ps1 and cleanup
3413419
Fix RuleSuppression.tests.ps1
350f840
Fix Settings.tests.ps1
6bdf977
format Settings.tests.ps1
f5ef381
Fix Tests/Engine/TextEdit.tests.ps1 and format
184081f
Fix AllCompatibilityRules.Tests.ps1
8c43725
Fix AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1
be4b0a2
Format AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps…
51a9fa9
Fix AvoidUsingPlainTextForPassword.tests.ps1
78ff1ab
fix place*brace tests
d7f3f9a
Format brace tests and fix PSCredentialType.tests.ps1
23de9a7
Fix UseCompatibleCommands.Tests.ps1
b571e31
Fix UseCompatibleSyntax.Tests.ps1
355658f
Fix UseCompatibleTypes.Tests.ps1
6314002
Fix UseCompatibleCmdlets.tests.ps1
0346659
Fix variable clash between compatibility tests that were not in Befor…
28e77e8
Fix LibraryUsage.tests.ps1 teardown syntax
d86a32b
Fix LibraryUsage.tests.ps1
9cd193d
rc3 for wmf4
6831297
Properly execute library tests and cleanup CustomizedRule.tests.ps1
9adf595
tidy up
75da17e
cleanup module imports and only import once at the root
2ca286d
Fix 5 of 6 v4 tests and add logging to better understand modulehelp f…
c6f6ab0
remove test-psversion functions and fix v3 or v4 checks
391c015
Fix ModuleHelp.Tests.ps1 for v4 and cleanup
a42bba2
Really fix ModuleHelp.Tests.ps1 on v4 and cleanup invoke-pester calls
eabcb6c
add debugging as to why there is no TestResults.xml on Ubuntu
4deff83
fix yaml
1fde869
fix test file upload on Ubuntu (casing) and ensure test file always g…
d23ed36
Merge branch 'master' of https://github.com/powershell/psscriptanalyz…
30f9ed9
Merge branch 'master' of https://github.com/powershell/psscriptanalyz…
1e9d3cb
move appveyor upload back
adf4c1e
move appveyor into finally
738e528
Merge branch 'master' of https://github.com/powershell/psscriptanalyz…
54dcafd
fix merge error to make install pester v5 again
2b852f2
Merge branch 'master' of https://github.com/powershell/psscriptanalyz…
af25ec0
Pester rc4
a331b5d
Update to rc5
bergmeister 7cc976c
Pull in changes from master and resolve trivial merge conflict
314e7d0
Merge branch 'pesterv5PoC' of https://github.com/bergmeister/psscript…
0c3af3b
cleanup ci run
c3dd5a1
Merge branch 'master' of https://github.com/powershell/psscriptanalyz…
ea721fe
rc6
bergmeister 4fd600f
rc7
bergmeister de8889b
rc8
bergmeister 53f1f0b
Update appveyor.psm1
bergmeister 98fdaf5
Merge branch 'master' of https://github.com/powershell/PSScriptAnalyz…
4b4a976
don't use -CI switch for local build and disable code coverage in CI
e6d1497
import pester module before running tests to import types
1dff12d
fix property name
1bd9e96
actually use configuration object (doh)
b683115
config object
edfbd10
fix output verbosity
570d287
fix type casting of [string[]] of pester paths
8baab13
pester 5 GA
752307e
Merge branch 'master' of https://github.com/powershell/psscriptanalyz…
b4eb871
Pester 5.0.2
bergmeister 932ca10
move testcases declaration before test
b540737
remove left-over comments
ea23a46
remove unnecessary [bool] in if condition
6a44a18
simplify version check to not require [version] type and patch version
5ee8a38
fix missing whitespace in test that made test invalid
1619ad8
empty commit since Azure Pipelines did not trigger
6a13f04
empty commit since Azure Pipelines did not trigger again
3b21278
empty commit since Azure Pipelines did not trigger again
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.