示例#1
0
        public void OnInitialize()
        {
            Dill dill = new Dill
            {
                FeatureLoaderType = FeatureLoaderType.EmbeddedResource,
                FeatureBasePath   = "Dill.Tests"
            };

            _context = dill.GetFeatureContext <RomanNumeralFeatureContext>();
        }
示例#2
0
 public DillTestFeatureContext(Dill dill) : base(dill, "dill_test.feature")
 {
 }
 public DillSimpleServiceProvider(Dill dillInstance)
 {
     _dillInstance = dillInstance;
 }
示例#4
0
 public JeffFeatureContext(Dill dill) : base(dill, "jeff.feature")
 {
     _jeff = new Jeff();
 }
 public RomanNumeralFeatureContext(Dill dill) : base(dill, "roman_numeral.feature")
 {
     _calculator = new RomanNumeralCalculator();
 }