Skip to content
This repository was archived by the owner on Mar 27, 2020. It is now read-only.

Latest commit

 

History

History
80 lines (54 loc) · 3.19 KB

File metadata and controls

80 lines (54 loc) · 3.19 KB

Ember CLI BrowserStack Example

Example cross-browser testing with of an Ember CLI app.

Build Status Greenkeeper badge

Introduction

This application is an example implementation of the ideas presented in the blog post "Ember CLI testing with BrowserStack". It includes:

Read more about it (and the gotchas) on the blog post.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd ember-browserstack-example
  • yarn install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Via BrowserStack

  • BrowserStackLocal --key <key> sets up local connection
  • export BROWSERSTACK_USER=<username>; export BROWSERSTACK_ACCESS_KEY=<key> from Automate tab of BrowserStack
  • ember test --test-port 8000 -l <launcher>
  • Test port 8000 allows Safari connection

Building

  • ember build (development)
  • ember build --environment production (production)

Further Reading / Useful Links

Inspiration / Thank You