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

run tests on .coffee files with sensible defaults

License

Notifications You must be signed in to change notification settings

dbartholomae/test-coffee-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module is no longer maintained!

test-coffee-module@1.0.4

[npm version(https://badge.fury.io/js/test-coffee-module.svg) [build status(https://travis-ci.org/dbartholomae/test-coffee-module.svg)) [coverage status(https://coveralls.io/repos/dbartholomae/test-coffee-module/badge.svg) [dependency status(https://david-dm.org/dbartholomae/test-coffee-module.svg?theme=shields.io) [devDependency status(https://david-dm.org/dbartholomae/test-coffee-module/dev-status.svg) [Gitter(https://badges.gitter.im/dbartholomae/test-coffee-module.svg)

run tests on .coffee files with sensible defaults

It loads mocha with chai's expect, sinon, sinon-chai, chai-as-promised and chai-things and runs coverage with istanbul and coffee-coverage on option '-c'

Usage

# With all options
test-coffee-module --coverage --debug

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install test-coffee-module --save

This package is provided in these module formats:

  • CommonJS

Documentation

You can find a documentation here.

Dependencies

  • bluebird: Full featured Promises/A+ implementation with exceptionally good performance
  • chai: BDD/TDD assertion library for node.js and the browser. Test framework agnostic.
  • chai-as-promised: Extends Chai with assertions about promises.
  • chai-things: Chai Things adds support to Chai for assertions on array elements.
  • coffee-coverage: Istanbul and JSCoverage-style instrumentation for CoffeeScript files.
  • coffee-script: Unfancy JavaScript
  • istanbul: Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests
  • mocha: simple, flexible, fun test framework
  • sinon: JavaScript test spies, stubs and mocks.
  • sinon-chai: Extends Chai with assertions for the Sinon.JS mocking framework.
  • commander: the complete solution for node.js command-line programs
  • winston: A multi-transport async logging library for Node.js

Dev Dependencies

  • codo: A CoffeeScript documentation generator.

License

MIT

About

run tests on .coffee files with sensible defaults

Resources

License

Stars

Watchers

Forks

Packages