Tests/New-DynamicParam.Tests.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
#$here = Split-Path -Parent $MyInvocation.MyCommand.Path #$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path) -replace '\.Tests\.', '.' #. "$here\$sut" $modulePath = Split-Path $PSScriptRoot -Parent $modulepath = Join-Path -Path $modulePath -ChildPath posharm.psd1 Import-Module $modulePath Describe "New-DynamicParam" { It "does something useful" { $true | Should Be $true } } Remove-Module -name posharm -ErrorAction SilentlyContinue |