diff --git a/Chutzpah/TestRunner.cs b/Chutzpah/TestRunner.cs index b4d29505..2af5adae 100644 --- a/Chutzpah/TestRunner.cs +++ b/Chutzpah/TestRunner.cs @@ -284,7 +284,7 @@ private TestCaseSummary ProcessTestPaths(IEnumerable testPaths, private IChutzpahWebServerHost SetupWebServerHost(ConcurrentBag testContexts, TestOptions options) { - var needsServer = options.Engine != Engine.Phantom; + var needsServer = options.Engine.GetValueOrDefault() != Engine.Phantom; IChutzpahWebServerHost webServerHost = null; var contextUsingWebServer = testContexts.Where(x => x.TestFileSettings.Server?.Enabled.GetValueOrDefault() == true).ToList();