Re: How to write tests for the Web Audio API

Thanks for the feedback, Chris. I’ve fixed up the post with your suggestions, and linked to the W3C hosted versions of the tests (e.g. http://w3c-test.org/webaudio/the-audio-api/the-gainnode-interface/test.html). 

Cheers, 

Chris 


On 30 April 2014 at 17:06:56, Chris Wilson (cwilso@google.com) wrote:
> Looks pretty good. A few comments:
> - I'd go into a bit more detail about the GainNode test as an example - the
> approach of using OfflineAudioContext, for example -
> - Can we not get the repo hosted as gh-pages branch, so it doesn't need to
> be hosted locally? Then we could at least link directly to tests.
> - You should expand on #2 in the process for writing a test - what it means
> to be testable as written (e.g. there's enough information in the spec to
> determine precisely what the output should be), and what to do if it's not
> (file an issue on the spec in the github repo).
>  
> -C
>  
>  
> On Wed, Apr 30, 2014 at 6:50 AM, Chris Lowis wrote:
>  
> > Hi,
> >
> > I wrote a blog post with some guidance on how to write tests for the
> > W3C test suite, with a specific Web Audio focus:
> >
> > http://blog.chrislowis.co.uk/2014/04/30/testing-web-audio.html
> >
> > Would someone mind having a look over it before I circulate it more
> > widely? I'm hoping it will help to encourage people to contribute, as
> > we don't really have anyone working on tests at the moment.
> >
> > Cheers!
> >
> > Chris
> >
> >
>  

Received on Monday, 5 May 2014 10:00:07 UTC