square/workflow-kotlin
View on GitHubSupport explicit expectation of no worker running
Open
#653 opened on Jan 31, 2022
enhancementgood first issuetesting
Repository metrics
- Stars
- (1,120 stars)
- PR merge metrics
- (Avg merge 55d 8h) (9 merged PRs in 30d)
Description
Right now there is no easy way to expect that some particular worker is not running during the given render step. There is a workaround to use requireExplicitWorkerExpectations, but it requires to specify the footprint for the rest of the workers.
Proposal: add methods like expectNoWorker/expectNoWorkerOutputting that will do the work complementary to expectWorker/expectWorkerOutputting by checking non-existence of a single worker with specific footprint.