Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
TAP tests for your fez. Keep your tests ultra portable by using Tape. Run them on the backend with Fez, and on the frontend with anything else.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
README.md
asd.js
example.js
index.js
package.json
parsed.json
test.js

README.md

fez-tap

TAP tests for your fez. Keep your tests ultra portable by using Tape. Run them on the backend with Fez, and on the frontend with anything else.

build status

npm install fez-tap

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', tap());

Otherwise

spec.rule(files, tap());
var fez = require('fez');

var fez = require("fez"),
    tap = require("fez-tap");

exports.build = function(spec) {

  spec.with("tests/*.js").all(function(files) {
    spec.rule(files, 'results.json', tap());
  });

};

exports.default = exports.build;

fez(module);

Bitdeli Badge

Something went wrong with that request. Please try again.