mirror of
https://github.com/GoodOlClint/PSProxmoxVE.git
synced 2026-08-24 19:46:29 +00:00
fix(test): fix assembly loading, remove mock server, resolve test warnings
- Create shared _TestHelper.ps1 for reliable module loading in both local dev and CI (fixes System.Runtime 9.0.0.0 FileNotFoundException on PS 7.x by trying Import-Module by name first, then local paths) - Use (Get-Module).ModuleBase for manifest path resolution - Remove PSProxmoxVE.MockServer project and MockIntegration tests - Remove MockIntegration from ExcludeTag filters Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -270,7 +270,7 @@ function Invoke-PesterUnitTests {
|
||||
|
||||
$config = New-PesterConfiguration
|
||||
$config.Run.Path = $pesterTestDir
|
||||
$config.Filter.ExcludeTag = @('Integration', 'MockIntegration')
|
||||
$config.Filter.ExcludeTag = @('Integration')
|
||||
$config.Output.Verbosity = 'Detailed'
|
||||
$config.Run.PassThru = $true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user