https://kotlinlang.org logo
u

ursus

01/19/2022, 10:13 PM
Has anyone been testing WorkManager with TestDriver? I mean, it takes a work id as a parameter to advance time / conditions. In a integration test, how the hell would I know this id? usually scheduling a job is a internal detail. Why would I return such id from the function Bad design or am I missing something?