v1.9.0-beta01
Pre-release
Pre-release
steve-the-edwards
released this
13 Feb 19:36
·
567 commits
to main
since this release
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
WorkerTester
API. Namely:assertFinished()
will also fail if the Worker has thrown and Error. This was considered not significant enough to warrant the concern over a2.0
release 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
WorkerTester
is now run inside aTestScope
and 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 aCoroutineDispatcher
for the backing flow toflowOn
and manipulating that.
Full Changelog: v1.8.0-beta13...v1.9.0-beta01