Пример #1
0
        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");
        }
Пример #2
0
 public static void Cleanup()
 {
     iisExpress.Stop();
     iisExpress = null;
 }