The Dart FakeAsync package seems to have the same functionality as quiver.testing.async inside the Quiver package so as a Flutter and Dart app developer I'm confused as to which one to use?
Is one supposed to be used over the other in particular circumstances? nothing in the documentation for either package gives any guidance on this either. Both packages also seem to be authored and maintained by members of the Google Flutter and Dart teams which makes it even more confusing.
The only thing I can see is that FakeAsync package is last updated in July 2018 while Quiver was in Nov 2019, so is FakeAsync deprecated? if so it's not labelled as such. And also a small number of core packages currently depend on FakeAsync, while a very large number of diverse package depend on quiver (though can't know if they depend on quivers testing.async
).
package:fake_async
's changelog does mention it a bit:package:fake_async
at a time was a superset ofquiver
'sFakeAsync
. However, currentlyquiver
's version has diverged, sopackage:fake_async
is no longer fully backwards compatible (for example, I addedFakeAsync.pendingTimersDebugInfo
toquiver
's version). =/quiver
's, so for better or for worse, I expect that thequiver
version has more inertia behind it.package:fake_async
, so reverse everything I said before.