test-ui support for Ember.js projects
BSD-2-CLAUSE License
Test-UI support for QUnit or Mocha tests in Ember.js apps
ember install @test-ui/ember
{{test-ui-frame}}
componentUse the {{test-ui-frame}}
component in your application.hbs
template, optionally passing in a filter to describe a subset of tests to run
<!-- Run Only ESLint Tests -->
{{test-ui-frame
filter='ESLint'}}
Typically, it's desirable to receive data from the tests as/after they run. This component yields a simple Observable that you may subscribe to
{{/test-ui-frame filter='ESLint' as |api|}}
{{data-receiver-component
observable=api.data}}
{{/test-ui-frame}}
git clone <repository-url>
cd @test-ui/ember
npm install
npm run lint:js
npm run lint:js -- --fix
ember test
– Runs the test suite on the current Ember versionember test --server
– Runs the test suite in "watch mode"ember try:each
– Runs the test suite against multiple Ember versionsember serve
For more information on using ember-cli, visit https://ember-cli.com/.
This project is licensed under the BSD 2-Clause License. (c) 2018 LinkedIn