You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
step.BeginTestRun() lets a specification run a job step's PerformStep under a real run, without a running job: callbacks posted through TryInvokeOnActivation are admitted and run, one at a time, on a stand-in activation scheduler. JobStepTestRun<TState>.Perform(state) returns what the step returned, Stop() cancels the work while admission stays open, CloseAdmission() refuses callbacks, and IsOnActivation tells a spec whether code runs on the activation. A test run records and delivers nothing. JobStepAlreadyHasALiveRun and JobStepTestRunWasSuperseded report misuse. See Testing your job steps. (#85)