fake_async
fake_async copied to clipboard
Fake asynchronous events for deterministic testing.
https://github.com/dart-lang/fake_async/pull/40 will make the getter throw in some cases. This is an OK compromise since a major version bump has a high cost here, and most folks won't run in...
Fixes #84. This method is like flushTimers, but runs just one timer and then returns. That allows the caller to write their own loop similar to flushTimers but with custom...
I have some tests that I've written using this package, and initially I ran into the same kinds of pitfalls and sharp edges that have been described in a few...