square/workflow-kotlin

Support explicit expectation of no worker running

Ouverte

#653 ouverte le 31 janv. 2022

 (0 commentaire) (0 réaction) (1 personne assignée)Kotlin (112 forks)github user discovery
enhancementgood first issuetesting

Métriques du dépôt

Stars
 (1 120 étoiles)
Métriques de merge PR
 (Merge moyen 55j 8h) (9 PRs mergées en 30 j)

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.

Guide contributeur