Backward- and forward-compatible testing for Ember projects
Until now, testing Ember apps and addons required ember-cli, a monolith package that is written in JavaScript and has less relevance in v2 apps and v2 addons. Production projects may be at risk because tools like ember-exam and @percy/ember are built on ember-cli.
ember-testem project aims to show that:
- The fix is minimal on the consumer's side. It is backward- and forward-compatible (apps with strict resolver, apps without
ember-cli). - We can keep using
qunitandtestem, plus all the battle-tested packages like@percy/ember,ember-a11y-testing,ember-qunit,ember-test-selectors,ember-try(@embroider/try),miragejs, andqunit-dom. No need to switch to another test framework and rewrite tests (possibly under different assumptions about routing and settledness). - When the project setup is solid, we can develop advanced features more easily: Measuring code coverage accurately, and running tests at random, in parallel, and partially based on code change.
From the root of your Ember app or addon, run install-ember-testem to set up ember-testem.
pnpx install-ember-testem- Node.js v22 or above
See the Contributing guide for details.
This project is licensed under the MIT License.