Пример #1
0
 public HostFixture()
 {
     this.Host = new DotNetCoreHost(new DotNetCoreHostOptions()
     {
         CsProjectPath = TestSutUrls.ApiProjectPath,
         Port          = 5000
     });
     Host.Start();
 }
Пример #2
0
 public TicketingSteps(ScenarioContext context)
 {
     _context       = context;
     _startableHost = new DotNetCoreHost(new DotNetCoreHostOptions
     {
         Port          = 7576,
         CsProjectPath = @"../../TicketManagement.Presentation.Rest/TicketManagement.Presentation.Rest.csproj"
     });
 }
Пример #3
0
 public StartableHostHook(IStartableHost host)
 {
     _host = host;
 }