Async testing

Async testing

Equip yourself with the knowledge needed to test tricky async behavior

Subscribe to watch


Asynchronous code poses a thorny issue for testing JavaScript apps. How does a test know when all outstanding asynchronous callbacks have been run, so that it can advance on to the next test?

Ember comes with some conventions and helpers to make testing async code easy. In this series we'll understand what Ember's testing setup expects, and learn how to roll up our sleeves when we need to go beyond what comes out of the box.

By the end of this series you'll understand how to debug tricky async test failures, and even ensure you can test long-running tasks like CSS transitions.