All Projects → gritzko → tape-dom

gritzko / tape-dom

Licence: MIT license
DOM output for npm:tape unit tests

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

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>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].