What's Changed
- Add Warning to RxWorkers about Asynchrony by @steve-the-edwards in #917
- update AGP to 7.4.1 by @RBusarow in #912
- 910: Integrate WorkerTester with TestScope by @steve-the-edwards in #918
- There are some breaking changes to the
WorkerTesterAPI. Namely:assertFinished()will also fail if the Worker has thrown and Error. This was considered not significant enough to warrant the concern over a2.0release but may require updates to client code. - If
nextOutput()causes the Worker to throw an exception, this will now be wrapped in anAssertionError. The Worker's exception itself can be retrieved withgetException(). - The
WorkerTesteris now run inside aTestScopeand if the test needs to access the scheduler for this to manipulate virtual time it is available astestCoroutineScheduler. This means that this can be handled within theWorkerTester's test itself, rather than setting up aCoroutineDispatcherfor the backing flow toflowOnand manipulating that.
Full Changelog: v1.8.0-beta13...v1.9.0-beta01