public ExecutableAttributeOrderOrdersTheStepsCorrectly()
 {
     var testObject = new TypeWithOrderedAttribute();
     var stepScanners = Configurator.Scanners.GetStepScanners(testObject).ToArray();
     var scanner = new ReflectiveScenarioScanner(stepScanners);
     var scenario = scanner.Scan(TestContext.GetContext(testObject)).First();
     _steps = scenario.Steps;
 }
 public void WhenStep_TestClassHasAttributes()
 {
     var testObject = new TypeWithOrderedAttribute();
     var stepScanners = Configurator.Scanners.GetStepScanners(testObject).ToArray();
     var scanner = new ReflectiveScenarioScanner(stepScanners);
     var scenario = scanner.Scan(testObject);
     _steps = scenario.Steps;
 }
コード例 #3
0
        public ExecutableAttributeOrderOrdersTheStepsCorrectly()
        {
            var testObject   = new TypeWithOrderedAttribute();
            var stepScanners = Configurator.Scanners.GetStepScanners(testObject).ToArray();
            var scanner      = new ReflectiveScenarioScanner(stepScanners);
            var scenario     = scanner.Scan(TestContext.GetContext(testObject)).First();

            _steps = scenario.Steps;
        }
        public void WhenStep_TestClassHasAttributes()
        {
            var testObject   = new TypeWithOrderedAttribute();
            var stepScanners = Configurator.Scanners.GetStepScanners(testObject).ToArray();
            var scanner      = new ReflectiveScenarioScanner(stepScanners);
            var scenario     = scanner.Scan(testObject);

            _steps = scenario.Steps;
        }