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,119 顆星)
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.

貢獻者指南