tests/Utilities/TestUtilities.ps1

function Initialize-Test {
    param(
        [string] $JsonConfigurationFilePath = "$PSScriptRoot\..\TestConfiguration\IntegrationTestConfiguration.json",
        [string] $targetFilePath = "$PSScriptRoot\..\..\DosInstallUtilities.psd1"
    )

    Import-Module $targetFilePath -Force

    $testConfiguration = Get-Content $JsonConfigurationFilePath | Out-String | ConvertFrom-Json

    return $testConfiguration
}