titef
    TypeScript icon, indicating that this package has built-in type declarations

    2.3.2 • Public • Published

    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:

    Install

    npm i titef

    DownloadsWeekly Downloads

    10

    Version

    2.3.2

    License

    MIT

    Unpacked Size

    34.1 kB

    Total Files

    8

    Last publish

    Collaborators

    • shikaan