square/workflow-kotlin

Support explicit expectation of no worker running

Offen

#653 geöffnet am 31.01.2022

 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Kotlin (112 Forks)github user discovery
enhancementgood first issuetesting

Repository-Metriken

Stars
 (1.118 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 55T 8h) (9 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide