Re: Test Changes Proposal

On Thu, 23 Feb 2017 04:02:43 +0100, Benjamin Schaaf <ben.schaaf@gmail.com>  
wrote:

> I've converted the 'omitted-hours' test to what I'm suggesting:
> https://gist.github.com/BenjaminSchaaf/0b32042c609d5d5d7c837d2247e391ec
> I've included the html and vtt files that would be generated.
>
> First line is the name of the test, followed by any number of html  
> headers.
> Then comes the js portion of the test with access to the video, track
> and cues objects.
> Then comes the vtt portion which is automatically added/loaded.
>
> We could even leave the current tests intact, though I'd prefer to
> convert them so everything is in a uniform format.

I think this looks reasonable, and I agree it would be good to convert  
existing tests so it is easier to maintain in the future.

The script to generate the relevant files should go in a tools/ directory.

-- 
Simon Pieters
Opera Software

Received on Thursday, 23 February 2017 21:42:27 UTC