0.0.12 • Published 8 years ago

tape-dom v0.0.12

Weekly downloads
516
License
MIT
Repository
github
Last release
8 years ago

DOM output formatter for tape tests

Convert tape's TAP output to nicely formatted DOM.

UI

Tape is an NPM package for making Test Anything Protocol tests in node.js. Tape nicely runs in a browser using browserify or in a browser-based debugger like IronNode.

Isomorphic use:

var tape = require('tape');
// If DOM tree is available (browser, IronNode) then render
// results to DOM. Otherwise, do nothing.
require('tape-dom')(tape);

Then browserify my_js_test.js -o browserified_test.js

The HTML side:

<html>
<head>
    <title>tape-dom example</title>
</head>
<body>
    <div id="tests"/>
    <script src="browserified_test.js"></script>
</body>
</html>
0.0.12

8 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago