tit

titef

🌠 A tiny, lightning-fast, zero-dependecies JavaScript test framework 🌠

Showing:

Popularity

Downloads/wk

2

GitHub Stars

19

Maintenance

Last Commit

5mos ago

Contributors

5

Package

Dependencies

0

Size (min+gzip)

4.0KB

License

MIT

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

Titef logo

🌠 A tiny, lightning-fast, zero-dependecies JavaScript test framework 🌠

Build Status npm version

🎯 Why you should use it?

⚑ Unbelievably fast (check it here)

πŸ‘Œ ~2.9Kb (gzipped) of whatever you need in most of the cases

πŸ„ Close-to-zero migration effort from Mocha, Jasmine, Jest;

πŸ“– Lots of docs make it user and contributor friendly

πŸ“₯ Installation

npm install --save titef

πŸ‘“ Usage

npx titef test/awesome.specs.js

Older npm:

node_modules/.bin/titef test/awesome.specs.js

πŸ‘£ Getting started

Your first test file

// test.js

const assert = require('assert');

const truthy = () => true;

suite('truthy', () => {
  spec('should return true', () => {
    assert.ok(truthy());
  });
  
  spec('should not return false', () => {
    assert.notDeepEqual(truthy(), false);
  });
});

Your first test run

$ npx titef ./test.js

For further information about writing and running tests in Titef take a look at Titef: Recipes to get up and running in no time.

🎁 Contributing

Contributors are well welcomed!

Here you'll find all the information you need to start to get going. A small preview:

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100