public MsiTestBed(SetupConfigBaseMsi setupConfig) { if (!File.Exists(setupConfig.FilePathToMsiFile)) { throw new FileNotFoundException(setupConfig.FilePathToMsiFile); } if (!File.Exists(setupConfig.FilePathToTestData)) { throw new FileNotFoundException(setupConfig.FilePathToTestData); } Verifier = new Verifier(setupConfig.FilePathToTestData, setupConfig); }
private static void RunTest(SetupConfigBaseMsi config) { var testBed = new MsiTestBed(config); var result = testBed.Execute(); WriteResult(result); new TestCleaner().CleanMachine(); }