Closed lawrence-forooghian closed 1 year ago
Note: this is based on top of #539 (it reuses the MultipleErrors type). Please don't merge this one until that one is merged.
MultipleErrors
This adds a set of reusable unit tests that verify that a worker type provides the behaviours implemented by the DefaultWorker protocol.
DefaultWorker
I’ll first be using it in the unit tests for the upcoming UpdatePublisherPresence worker. Here is an example of how it looks in action.
UpdatePublisherPresence
See commit messages for more details.
Note: this is based on top of #539 (it reuses the
MultipleErrors
type). Please don't merge this one until that one is merged.This adds a set of reusable unit tests that verify that a worker type provides the behaviours implemented by the
DefaultWorker
protocol.I’ll first be using it in the unit tests for the upcoming
UpdatePublisherPresence
worker. Here is an example of how it looks in action.See commit messages for more details.