Add autoload for test modules (#3342)

Related #3238

1. Add autoload for test modules
2. Move TestHostCS.psm1 to 'test\tools\Modules\' folder
3. Remove explicit load TestHostCS.psm1 from test files
This commit is contained in:
Ilya authored and Travis Plunk committed 2017-03-26 21:46:39 -07:00
1 parent 8598a51823
commit a99fb531e6
8 files changed
+129 -16

No files matched your search

@@ -1,7 +1,3 @@
# this is sensitive to the location of this test and the common directory"
$hostmodule = Join-Path $PSScriptRoot "../../Common/TestHostCS.psm1"
import-module $hostmodule -ErrorAction SilentlyContinue
Describe "Out-Host Tests" -tag CI {
BeforeAll {
$th = New-TestHost