@test-ui/ember

1.1.3 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @test-ui/ember

Weekly Downloads

2

Version

1.1.3

License

BSD-2-Clause

Unpacked Size

25.1 kB

Total Files

24

Last publish

Collaborators

  • mike-north-bot
  • northm