Skip to content

Release v1.22.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 09:20
ec964bd

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)