zora
the lightest yet the fastest javascript testing library
Last updated 5 years ago by lorenzofox3 .
MIT · Original npm · Tarball · package.json
$ npm install zora 
SYNC missed versions from official npm registry.

Zora

npm install size

Zora is one of the lightest (if not the lightest), yet one of the fastest Javascript testing library (if not the fastest). It works in many environments including nodejs and the browser

Usage

The library is a regular Javascript module and can be directly imported from a CDN:

import {test} from 'https://unpkg.com/zora@5.0.0-alpha.1/dist/index.js'

test(`hello from zora`, ({ok}) => {
    ok(true, 'it worked');
})

Or installed via a package manager such NPM by running the command (assuming you have Nodejs installed on your machine):

npm i -D zora

You can then build your testing program by using the exported test function

import {test} from 'zora';

test(`my very first test`, (assertion) => {
    assertion.ok(true, 'true is always truthy')
})

The tests should run automatically and report its execution into the console

TAP version 13
# my very first test
ok 1 - true is always truthy

1..1
# tests 1
# pass  1
# fail  0
# skip  0

// todo

Current Tags

  • 6.0.4                                ...           latest (5 months ago)
  • 5.0.0-beta.1                                ...           next (5 years ago)

58 Versions

  • 6.0.4                                ...           5 months ago
  • 6.0.0                                ...           2 years ago
  • 5.2.0                                ...           4 years ago
  • 5.1.0                                ...           4 years ago
  • 5.0.4                                ...           4 years ago
  • 5.0.3                                ...           5 years ago
  • 5.0.2                                ...           5 years ago
  • 5.0.1                                ...           5 years ago
  • 5.0.0                                ...           5 years ago
  • 5.0.0-beta.1                                ...           5 years ago
  • 5.0.0-alpha.4                                ...           5 years ago
  • 5.0.0-alpha.3                                ...           6 years ago
  • 5.0.0-alpha.2                                ...           6 years ago
  • 5.0.0-alpha.1                                ...           6 years ago
  • 4.1.0                                ...           6 years ago
  • 4.0.2                                ...           6 years ago
  • 4.0.1                                ...           6 years ago
  • 4.0.0                                ...           6 years ago
  • 3.1.9                                ...           7 years ago
  • 3.1.8                                ...           7 years ago
  • 3.1.7                                ...           7 years ago
  • 3.1.6                                ...           7 years ago
  • 3.1.5                                ...           7 years ago
  • 3.1.4                                ...           7 years ago
  • 3.1.3                                ...           7 years ago
  • 3.1.2                                ...           7 years ago
  • 3.1.1                                ...           7 years ago
  • 3.1.0                                ...           7 years ago
  • 3.0.3                                ...           7 years ago
  • 3.0.2                                ...           7 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 3.0.0-2                                ...           8 years ago
  • 3.0.0-1                                ...           8 years ago
  • 3.0.0-0 [deprecated]           ...           8 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 2.0.0-0                                ...           9 years ago
  • 1.2.0                                ...           9 years ago
  • 1.1.6                                ...           9 years ago
  • 1.1.5                                ...           9 years ago
  • 1.1.4                                ...           9 years ago
  • 1.1.3                                ...           9 years ago
  • 1.1.2                                ...           9 years ago
  • 1.1.1                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.3.0                                ...           10 years ago
  • 0.2.1                                ...           10 years ago
  • 0.2.0                                ...           10 years ago
  • 0.1.3                                ...           10 years ago
  • 0.1.2                                ...           10 years ago
  • 0.1.1                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
  • 0.0.3                                ...           10 years ago
  • 0.0.2                                ...           10 years ago
  • 0.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Total 182
Today 0
This Week 10
This Month 101
Last Day 0
Last Week 13
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE