Open main menu

CDOT Wiki β

Changes

0.1 Release 2012 WebVTT Test Suite

1,073 bytes added, 20:06, 19 September 2012
no edit summary
The first file should go in the good/ directory, the second in bad/, indicating that we expect the first to validate, and the second to fail.
 
== Method ==
 
* Install the node-webvtt module:
** Install node.js (which includes npm): http://nodejs.org/
** Install the webvtt npm module:
 
$ npm install -g webvtt
 
* Add humphd's webvtt github repo as a remote
 
$ cd your-webvtt-clone-dir
$ git remote add humphd git://github.com/humphd/webvtt.git
$ git fetch humphd
 
* Switch to the seneca branch
 
$ git checkout seneca
 
* Add your tests to test/spec/good and test/spec/bad
 
* Run your tests to make sure they pass in the JS WebVTT parser. You can do this directly or with make. To do it directly:
 
$ webvtt test/good/some-file.vtt
 
Or to do it with make across all your files
 
$ make check-js
 
* When you're done, send a pull request to your group member managing your tree, who will assemble all your tests, and then do a pull request to humphd.
 
== Tests ==
 
What follows is a list of tests we need, followed by the name of the person doing it:
 
''...tests go here...''
== Resources ==
* [http://dev.w3.org/html5/webvtt WebVTT Spec]
*[https://github.com/humphd/webvtt humphd's webvtt repo, with seneca branch] * [https://github.com/humphd/node-webvtt node-webvtt repo]