class Busser::RunnerPlugin::Pester

Public Instance Methods

test() click to toggle source
# File lib/busser/runner_plugin/pester.rb, line 33
def test
  banner "[pester] Running"
  pester_path = suite_path('pester').to_s
  Dir.chdir(pester_path) do
    run!("c:\\windows\\sysnative\\windowspowershell\\v1.0\\powershell.exe -NonInteractive -NoProfile -ExecutionPolicy Bypass -Command \"Import-Module Pester; write-host ''; Invoke-Pester -EnableExit\"")
  end
end