Home > web-testsuite-spec-to-test

web-testsuite-spec-to-test

Web-testsuite-spec-to-test is a project mainly written in JavaScript, based on the MIT license.

node script to auto generate tests for the web-testsuite by parsing specs

Testcase generator for the web-testsuite

This peace of code generates test cases by parsing web specs.

Supported Specs

  • W3C (parser: w3c)
  • WAC 2.0 (parser: wac20)

More specs will be supported soon. Feel free to implement own SpecParsers.

Requirements:

  • Node 0.4.4
  • jsdom 0.2.0

How To Use

    $ node testinator.js [parser] [spec URL] [output file]

e.g.

    $ node testinator.js w3c http://www.w3.org/TR/2011/WD-html5-20110113/video.html w3c-media.js
    $ node testinator.js wac20 http://specs.wacapps.net/2.0/feb2011/deviceapis/deviceapis.html wac-deviceapis.js

Credits

  • Christian Ranz christianranz.com – @ranzwertig
  • browserlove.org – @browserlove
Previous:Premier-algo