fez-tape

0.1.0 • Public • Published

fez-tape

Tap tests for your fez. Compatible with frontend because it's Tape by Substack. -- Great for automated browser testing builds.

browser support

npm install fez-tape

Pretty simple spec for Fez. It runs the tests, after all tests have completed, it checks for failures. If failures exist it throws an error ending the build process.

It prints available result data to stdout.

You can also export the parsed results by including an output file such as

spec.rule(files, 'results.json', tape());

Otherwise

spec.rule(files, tape());
 
var fez = require('fez');
 
var fez = require("fez"),
    tape = require("fez-tape");
 
exports.build = function(spec) {
 
  spec.with("tests/*.js").all(function(files) {
    spec.rule(files, 'results.json', tape());
  });
  
};
 
exports.default = exports.build;
 
fez(module);
 

Readme

Keywords

Package Sidebar

Install

npm i fez-tape

Weekly Downloads

1

Version

0.1.0

License

MIT License

Last publish

Collaborators

  • mhernandez