runintegrationtests.ps1

$here = Split-Path -Parent $MyInvocation.MyCommand.Path

Set-StrictMode -Version Latest

$ErrorActionPreference = "Stop"

Import-Module Pester

$VerbosePreference = "continue"

$module = "DosInstallUtilities.Kube"
Get-Module "$module" | Remove-Module -Force

Import-Module "$here\$module.psm1" -Force

Invoke-Pester "$here\Module.Tests.ps1"

# Invoke-Pester "$here\functions\helpers\Find-OpenPort.Tests.ps1" -Verbose

# Invoke-Pester "$here\functions\LaunchKubernetesDashboard.Tests.ps1" -Verbose

Invoke-Pester "$here\functions\kubernetes\services\GetTcpServices.Tests.ps1" -Verbose
Invoke-Pester "$here\functions\Stack\SetTcpPortsForStack.Tests.ps1" -Verbose