public async Task InitTests() { _client = new Certify.Client.CertifyServiceClient(new SharedUtils.ServiceConfigManager()); // TODO : create API server instance instead of invoking directly if (_apiService == null) { _apiService = Process.Start(@"C:\Work\GIT\certify\src\Certify.Service\bin\Debug\net462\CertifySSLManager.Service.exe"); await Task.Delay(2000); } }
public async Task InitTests() { _client = new Certify.Client.CertifyServiceClient(new ServiceConfigManager()); // TODO : create API server instance instead of invoking directly if (_apiService == null) { var svcpath = $"{ Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)}\\..\\..\\..\\..\\..\\Certify.Service\\bin\\Debug\\net462\\CertifySSLManager.Service.exe"; _apiService = Process.Start(svcpath); await Task.Delay(2000); } }
public async Task InitTests() { _client = new Certify.Client.CertifyServiceClient(new ServiceConfigManager()); // create API server instance if (_svc == null) { _svc = new Certify.Service.OwinService(); _svc.Start(); await Task.Delay(2000); await _client.GetAppVersion(); } }
public void Setup() { _client = new Certify.Client.CertifyServiceClient(); }