1.1.3 • Published 6 years ago

@test-ui/ember v1.1.3

Weekly downloads
1
License
BSD-2-Clause
Repository
github
Last release
6 years ago

@test-ui/ember

Build Status Version

Test-UI support for QUnit or Mocha tests in Ember.js apps

Installation

ember install @test-ui/ember

Usage

The {{test-ui-frame}} component

Use 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}}

Contributing

Installation

  • git clone <repository-url>
  • cd @test-ui/ember
  • npm install

Linting

  • npm run lint:js
  • npm run lint:js -- --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

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

License

This project is licensed under the BSD 2-Clause License. (c) 2018 LinkedIn