Re: How to write tests for the Web Audio API

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 <chris.lowis@gmail.com> 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 Wednesday, 30 April 2014 16:07:25 UTC