public static void Setup(TestContext context) { string localPath = System.IO.Path.GetDirectoryName(typeof(Tests).Assembly.Location); iisExpress = new IISExpress(localPath, PORT); Assert.IsTrue(iisExpress.Start(), "IIS Express failed to start"); }
public static void Cleanup() { iisExpress.Stop(); iisExpress = null; }