Esempio n. 1
0
        public void ApplyFixtureOverrides(FixtureLibrary systemLibrary, FixtureLibrary overrides)
        {
            var embeddedKey = fixture.key;

            if (systemLibrary.Models.Has(embeddedKey))
            {
                var systemFixture = systemLibrary.Models[embeddedKey];

                fixture = overrides.Models.Has(embeddedKey)
                    ? systemFixture.ApplyOverrides(overrides.Models[embeddedKey]).As <FixtureModel>()
                    : systemFixture;
            }
            else
            {
                fixture = overrides.Models[embeddedKey];
            }

            if (collection.IsEmpty())
            {
                collection = fixture.key;
            }
        }
Esempio n. 2
0
 public void CreatePlan(ExecutionPlan plan, StepValues values, FixtureLibrary library, bool inTable = false)
 {
     throw new System.NotImplementedException();
 }
Esempio n. 3
0
 public SpecificationPostProcessor(FixtureLibrary library, Specification spec)
 {
     _library = library;
     _spec    = spec;
 }