Would you recommend testing cancellation or termination of workflows? It looks like this would only be possible for activities since those can be mocked, but not so much for timers (like Sleep).
Perhaps, even broader - what do you think would be valuable unit tests for a fairly simple workflow?
- Execute activity A (has retries, 1 non-retryable application error)
- Sleep 2 days
- Execute activity B (has retries, all errors retriable)