square/workflow-kotlin

Support explicit expectation of no worker running

开放

#653 创建于 2022年1月31日

 (0 条评论) (0 个反应) (1 位负责人)Kotlin (112 个派生)github user discovery
enhancementgood first issuetesting

仓库指标

星标
 (1,120 个星标)
PR 合并指标
 (平均合并 55天 8小时) (30 天内合并 9 个 PR)

描述

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.

贡献者指南