public LambdaBehavior(FixtureBehaviorAction execute) { this.execute = execute; }
/// <summary> /// Wraps each test fixture (test class instance) with the specified behavior. /// /// <para> /// The behavior may perform custom actions before, after, or instead of /// executing each test fixture. Invoke next() to proceed with normal execution. /// </para> /// </summary> public FixtureBehaviorExpression Wrap(FixtureBehaviorAction behavior) { config.WrapFixtures(() => new LambdaBehavior(behavior)); return(this); }