broccoli-testem-plugin

0.0.1 • Public • Published

broccoli-testem-plugin

Plugin for Broccoli that runs tests with Testem.

Install

npm install broccoli-testem-plugin

Usage

// Brocfile.js
var broccoliTestem = require('broccoli-testem-plugin')

var runTests = broccoliTestem('inputTree/', {
  src_files: ['**/*.js'] // Files paths are relative to input tree
  // Here any testem options
})

module.exports = runTests

TDD mode

Use plugin with broccoli serve. Then on first build plugin will start testem server, and on rebuild file changes will be watched by testem.

Continious integration mode

Use with broccoli build, and set option ci: true.
With this option testem starts server, runs tests and exits. Plugin will wait until testem exits, and if some test will fail, task will return an error.

License

Public domain, see the LICENCE.md file.

Readme

Keywords

Package Sidebar

Install

npm i broccoli-testem-plugin

Weekly Downloads

1

Version

0.0.1

License

public domain

Last publish

Collaborators

  • sunflowerdeath