Git Product home page Git Product logo

ember-cli-iced-mocha's Introduction

Ember CLI Iced Mocha

Build Status

ember-cli-iced-mocha is a (work-in-progress!) Ember addon for exploring the potential of an improved HTML reporter for ember-cli-mocha.

Installation

First, install ember-cli-mocha:

ember install ember-cli-mocha

Then, install this addon:

ember install ember-cli-iced-mocha

Next, you'll need to set the test reporter to the one included in this addon:

// tests/test-helper.js
import { setResolver } from 'ember-mocha';
import Reporter from 'ember-cli-iced-mocha/reporter';
import resolver from './helpers/resolver';

setResolver(resolver);
window.mocha.reporter((runner) => new Reporter(runner));

Addon Goals

Short-Term

Medium-Term

  • Add a configurable mechanism for grouping automated test results (such as JSHint or JSCS linting)
  • Either automatically extend the consuming app/addon to use a mocha-friendly testGenerator function or make it easy for consumers to import one from this addon that will be maintained
  • Add a extensible mechanism for registering options that can be toggled on/off that should be exposed in the UI comparable to QUnit's urlConfig option. Include some options such as the ability to hide passing tests and to hide the container.
  • If it makes sense, consider/discuss merging this repository to ember-cli-mocha

Long-Term

  • Separate out the code for state management of testing data from the UI code. Explore the potential for making the tests/index.html page its own Ember app separate from the app under test.

Contributing

See CONTRIBUTING.md.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.