plaintest

An extremely simple testing framework.

Usage no npm install needed!

<script type="module">
  import plaintest from 'https://cdn.skypack.dev/plaintest';
</script>

README

plaintest

example

const assert = require( 'assert' );
const plaintest = require( 'plaintest' );

plaintest.test( 'this is a test', () => {
    assert.ok( true );
} );

const my_group = plaintest.group( 'my group' );
my_group.test( 'this is a test in "my group"', () => {
    assert.ok( true );
} );