-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Replace usage of $MyInvocation.MyCommand.Pat with $PSScriptRoot and cleanup tests * Fix 2 small mistakes, test should now be green again * Adapt build.psm1 * Engine tests migration to Pester v5 * use pester v5 in ci and always upload test results * Upgrade Rule tests to Pester v5 using BeforeAll block and addressing some -Skip problems already * -AllowPrerelease * try bootstrap in wmf4 * fix invoke-pester call in CI * fix CorrectionExtent.tests.ps1 * fix Helper.tests.ps1 * Fix remaining tests with BeforeAll/AfterAll (discovery works now) * fix UseUsingScopeModifierInNewRunspaces.tests.ps1 * make test cases more readable * cleanup UseUsingScopeModifierInNewRunspaces.tests.ps1 * Fix UseShouldProcessForStateChangingFunctions.tests.ps1 * cleanup UseShouldProcessForStateChangingFunctions.tests.ps1 * Fix PSCompatibilityCollector/Tests/UtilityApi.Tests.ps1 * Fix InvokeScriptAnalyzer.tests.ps1 * Format InvokeScriptAnalyzer.tests.ps1 * Fix ModuleHelp.Tests.ps1 and cleanup * Fix RuleSuppression.tests.ps1 * Fix Settings.tests.ps1 * format Settings.tests.ps1 * Fix Tests/Engine/TextEdit.tests.ps1 and format * Fix AllCompatibilityRules.Tests.ps1 * Fix AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 * Format AvoidUnloadableModuleOrMissingRequiredFieldInManifest.tests.ps1 to fix indentation * Fix AvoidUsingPlainTextForPassword.tests.ps1 * fix place*brace tests * Format brace tests and fix PSCredentialType.tests.ps1 * Fix UseCompatibleCommands.Tests.ps1 * Fix UseCompatibleSyntax.Tests.ps1 * Fix UseCompatibleTypes.Tests.ps1 * Fix UseCompatibleCmdlets.tests.ps1 * Fix variable clash between compatibility tests that were not in BeforeEach block and remove unused variables * Fix LibraryUsage.tests.ps1 teardown syntax * Fix LibraryUsage.tests.ps1 * rc3 for wmf4 * Properly execute library tests and cleanup CustomizedRule.tests.ps1 * tidy up * cleanup module imports and only import once at the root * Fix 5 of 6 v4 tests and add logging to better understand modulehelp failure * remove test-psversion functions and fix v3 or v4 checks * Fix ModuleHelp.Tests.ps1 for v4 and cleanup * Really fix ModuleHelp.Tests.ps1 on v4 and cleanup invoke-pester calls * add debugging as to why there is no TestResults.xml on Ubuntu * fix yaml * fix test file upload on Ubuntu (casing) and ensure test file always gets uploaded on appveyor * move appveyor upload back * move appveyor into finally * fix merge error to make install pester v5 again * Pester rc4 * Update to rc5 * cleanup ci run * rc6 * rc7 * rc8 * Update appveyor.psm1 * don't use -CI switch for local build and disable code coverage in CI * import pester module before running tests to import types * fix property name * actually use configuration object (doh) * config object * fix output verbosity * fix type casting of [string[]] of pester paths * pester 5 GA * Pester 5.0.2 * move testcases declaration before test * remove left-over comments * remove unnecessary [bool] in if condition * simplify version check to not require [version] type and patch version * fix missing whitespace in test that made test invalid * empty commit since Azure Pipelines did not trigger * empty commit since Azure Pipelines did not trigger again * empty commit since Azure Pipelines did not trigger again Co-authored-by: Christoph Bergmeister <[email protected]>
- Loading branch information
1 parent
67805a1
commit 7354892
Showing
87 changed files
with
2,403 additions
and
2,134 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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 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 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 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 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.