Skip to content
/ testiz Public

Simple testing library with no excessive syntax

License

Notifications You must be signed in to change notification settings

eguneys/testiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple testing library with no excessive syntax.

Install

yarn install testiz --dev

Usage

// node
// const { log, ok, is, not } = require('testiz');

// browser
import { log, ok, is, not } from 'testiz/browser';


function tests() {
  log('passing tests');
  ok('true is ok', true);
  is('three is three', 3, 3);
  not('three is not four', 3, 4);

  log('failing tests');
  is('three is two', 3, 2);
  ok('null is ok', null);
}

tests();
# testiz

About

Simple testing library with no excessive syntax

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published