Esempio n. 1
0
 private void StartFixture(string uuid, FixtureResult fixtureResult)
 {
     storage.Put(uuid, fixtureResult);
     fixtureResult.stage = Stage.running;
     fixtureResult.start = DateTimeOffset.Now.ToUnixTimeMilliseconds();
     storage.ClearStepContext();
     storage.StartStep(uuid);
 }
Esempio n. 2
0
 private void StartFixture(string uuid, FixtureResult fixtureResult)
 {
     _storage.Put(uuid, fixtureResult);
     fixtureResult.stage = Stage.running;
     fixtureResult.start = ToUnixTimestamp(DateTimeOffset.Now);
     _storage.ClearStepContext();
     _storage.StartStep(uuid);
 }
Esempio n. 3
0
 private void StartFixture(string uuid, FixtureResult fixtureResult)
 {
     fixtureResult.statusDetails = new StatusDetails();
     Storage.Put(uuid, fixtureResult);
     fixtureResult.stage = Stage.running;
     fixtureResult.start = ToUnixTimestamp();
     Storage.ClearStepContext();
     Storage.StartStep(uuid);
 }
Esempio n. 4
0
 public AllureLifecycle StartAfterFixture(string parentUuid, string uuid, FixtureResult result)
 {
     UpdateTestContainer(parentUuid, container => container.afters.Add(result));
     StartFixture(uuid, result);
     return(this);
 }
Esempio n. 5
0
 public virtual AllureLifecycle StartBeforeFixture(string parentUuid, string uuid, FixtureResult result)
 {
     UpdateTestContainer(parentUuid, container => container.befores.Add(result));
     StartFixture(uuid, result);
     return(this);
 }