tressa
A little test utility
Last updated 8 years ago by webreflection .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install tressa 
SYNC missed versions from official npm registry.

tressa build status

A little test utility from Andrea Giammarchi and Claudio D'angelis born after this post and this tweet.

Compatible with NodeJS 0.8 and higher.

var test = require('tressa');

test.title('My Library');

// synchronous
test(condition, 'optional comment');

// asynchronous
test
  .async(done => {
    setTimeout(() => {
      test(condition, 'optional comment');
      done();
    });
  })
  .then(() => {
    console.log("That's it!");
  });

(C) 2017 MIT Style License

Current Tags

  • 0.3.1                                ...           latest (8 years ago)

11 Versions

  • 0.3.1                                ...           8 years ago
  • 0.3.0                                ...           8 years ago
  • 0.2.3                                ...           8 years ago
  • 0.2.2                                ...           8 years ago
  • 0.2.1                                ...           8 years ago
  • 0.2.0                                ...           8 years ago
  • 0.1.4                                ...           8 years ago
  • 0.1.3                                ...           8 years ago
  • 0.1.2                                ...           8 years ago
  • 0.1.1                                ...           8 years ago
  • 0.1.0                                ...           8 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |