public static void Initialize(TestContext context) { host = new NancyHost( new HostConfiguration { UrlReservations = new UrlReservations { CreateAutomatically = true } }, uri = new Uri( string.Format( "http://localhost:{0}/web-browser-waiter-tests/", PortHelper.GetOrCreateCachedPort() ) ) ); host.Start(); }