Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 868 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 868 Bytes

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