pax_global_header00006660000000000000000000000064134414401400014505gustar00rootroot0000000000000052 comment=c27bf07905cc285cd03d51f2d23243c38b3981d3 coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/000077500000000000000000000000001344144014000204375ustar00rootroot00000000000000coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/.gitignore000066400000000000000000000000161344144014000224240ustar00rootroot00000000000000node_modules/ coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/README.md000066400000000000000000000010331344144014000217130ustar00rootroot00000000000000Coffeetape ---------- Run [tape](https://github.com/substack/tape) tests written in coffeescript! To install: `npm install -g coffeetape` The command works exactly the same as the regular `tape` runner, just do `coffeetape test/*.coffee` to run your tests. You can pipe `coffeetape` into any standard tap reporter as you would expect. To write your tests, `require('tape')` and use it exactly like you would if you were writing your tests in javascript. You'll get the same API if you `require()` coffeetape, but it's not recommended. coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/bin/000077500000000000000000000000001344144014000212075ustar00rootroot00000000000000coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/bin/coffeetape000077500000000000000000000001211344144014000232300ustar00rootroot00000000000000#!/usr/bin/env node require('coffeescript/register'); require('tape/bin/tape'); coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/index.js000066400000000000000000000000421344144014000221000ustar00rootroot00000000000000module.exports = require('tape'); coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/package.json000066400000000000000000000012611344144014000227250ustar00rootroot00000000000000{ "name": "coffeetape", "version": "2.0.0", "description": "Run tape tests written in coffeescript", "main": "index.js", "bin": "./bin/coffeetape", "scripts": { "test": "coffeetape *.coffee *.coffee.md" }, "repository": { "type": "git", "url": "https://github.com/0chroma/coffeetape.git" }, "keywords": [ "coffeescript", "coffee", "tape", "tap", "testing", "tests", "test" ], "author": "0chroma", "license": "MIT", "bugs": { "url": "https://github.com/0chroma/coffeetape/issues" }, "homepage": "https://github.com/0chroma/coffeetape", "dependencies": { "coffeescript": "^2.3.2", "tape": "^4.10.1" } } coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/test.coffee000066400000000000000000000001761344144014000225730ustar00rootroot00000000000000tape = require 'tape' add = (a, b)-> a + b tape 'Regular CoffeeScript', (t)-> t.plan 1 t.equal add(1, 2), 3, '1 + 2 = 3' coffeetape-c27bf07905cc285cd03d51f2d23243c38b3981d3/test2.coffee.md000066400000000000000000000002531344144014000232500ustar00rootroot00000000000000# Literate CoffeeScript test tape = require 'tape' add = (a, b)-> a + b ## Test tape 'Literate CoffeeScript', (t)-> t.plan 1 t.equal add(1, 2), 3, '1 + 2 = 3'