square/workflow-kotlin

Support explicit expectation of no worker running

Aperta

#653 aperta il 31 gen 2022

 (0 commenti) (0 reazioni) (1 assegnatario)Kotlin (112 fork)github user discovery
enhancementgood first issuetesting

Metriche repository

Star
 (1120 stelle)
Metriche merge PR
 (Merge medio 55g 8h) (9 PR mergiate in 30 g)

Descrizione

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.

Guida contributor