Skip to content
Test-framework-agnostic helpers for testing Ember.js applications
JavaScript TypeScript Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
addon-test-support Revert changes to API.md; Add docs inline Jun 7, 2019
config Use @ember/jquery@0.6.0 for jQuery specific scenarios Jan 25, 2019
scripts Adjust `prepublishOnly` hook to move declaration files to the right p… Nov 1, 2018
tests Fixing settled tests May 3, 2019
types Moving test isolation validation primatives into @ember/test-helpers to Feb 16, 2019
vendor Adapt module paths to both 3.1 and 3.2 Apr 20, 2018
.editorconfig Remove max_line_length from .editorconfig. Nov 8, 2017
.ember-cli Migrate to an ember-cli addon. Oct 7, 2017
.eslintignore Upgrade Ember Nov 7, 2018
.eslintrc.js Clean up linting configuration. Nov 20, 2018
.gitignore Clean up linting configuration. Nov 20, 2018
.npmignore Upgrade Ember Nov 7, 2018
.prettierrc.js Clean up linting configuration. Nov 20, 2018
.travis.yml chore(test): Fixes CI when testing floating dependencies May 16, 2019
.watchmanconfig Migrate to an ember-cli addon. Oct 7, 2017
APACHE-LICENSE Dual license under Apache v2 and MIT Oct 1, 2014
API.md Update API.md to match v1.6.0 contents. Jun 17, 2019
CHANGELOG.md Release 1.6.0 Jun 17, 2019
MIT-LICENSE Dual license under Apache v2 and MIT Oct 1, 2014
README.md README: Adjust "Usage" section Mar 1, 2018
documentation.yml Updating docs for registerDebugInfoHelper Apr 12, 2019
ember-cli-build.js Fix scenarios without jquery Apr 20, 2018
index.js Change addon name to avoid mismatch Nov 7, 2018
package.json Bump ember-cli-dependency-checker from 3.1.0 to 3.2.0 Jun 18, 2019
testem.js Upgrade Ember Nov 7, 2018
tsconfig.json tsconfig: Enable `noImplicitAny` again Nov 7, 2018
yarn.lock Bump ember-cli-dependency-checker from 3.1.0 to 3.2.0 Jun 18, 2019

README.md

@ember/test-helpers

Build Status

A test-framework-agnostic set of helpers for testing Ember.js applications

Installation

If you are writing a regular Ember app or addon there is not much for you to do as ember-qunit (and ember-mocha) already include this package as a dependency. You only need to make sure that you are using a recent enough version of either one of these packages.

If you are working on ember-qunit or ember-mocha themselves you can install this package like any other regular Ember addon.

Usage

This package exports several helper functions that can be used to improve the testing experience when developing Ember.js apps or addons.

These helper functions include DOM interaction helpers (click(), fillIn(), ...), routing and rendering helpers (visit(), render(), ...) and some other things that make it easy to write good tests.

The full documentation can be found in the API reference.

Contributing

Installation

  • git clone <repository-url>
  • cd ember-test-helpers
  • yarn install

Running tests

  • yarn test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Running the dummy application

For more information on using ember-cli, visit https://ember-cli.com/.

Attribution

Much of ember-test-helpers was extracted from the original ember-qunit, which was written by Stefan Penner, Robert Jackson, and Ryan Florence.

Copyright and License

Copyright 2015 Switchfly and contributors.

Dual-licensed under the Apache License, Version 2.0 and the MIT License.

You can’t perform that action at this time.