Ejemplo n.º 1
0
        public bool CanContinue()
        {
            if (HadCriticalException || CatastrophicException != null)
            {
                return(false);
            }

            return(StopConditions.CanContinue(Counts));
        }
Ejemplo n.º 2
0
        public SpecContext(Specification specification, Timings timings, IResultObserver observer, StopConditions stopConditions, IExecutionContext execution)
        {
            Counts          = new Counts();
            Specification   = specification;
            _resultObserver = observer;
            _execution      = execution;
            StopConditions  = stopConditions;

            _timings = timings ?? new Timings();

            Reporting = new Reporting();
        }
Ejemplo n.º 3
0
 public void Cancel()
 {
     StopConditions.Cancel();
 }