pier-oliviert / specter.js

Integration testing environment for JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

specter.js

Specter is a testing utility that compares the DOM before and after a JS operation was done to make sure that what is rendered from JS is what is expected.

This DOM-diffing operation allows to quickly see when a change made to the JS stack has changed the expected output. Also, because the testing operation is done on the DOM output, this library is framework agnostic.

Installation

Create a test

Run the test

About

Integration testing environment for JavaScript

License:MIT License


Languages

Language:JavaScript 55.9%Language:Ruby 20.1%Language:CSS 13.9%Language:HTML 10.2%