Design for Testability

This is a totally half baked idea so shoot away but ...

I've been thinking it would be really nice if I could ask getUserMedia to give me a fake video stream that had some color bars and a counter or something and some pieces in the top left corner that indicated the frame number in the sequence. This would make it much easier to start to write standardized test like the stuff going on at 

http://testthewebforward.org/

And perhaps something in the video tag that could allow the JS to query the frame number if the video tag was currently displaying this test video. 

None of this has any use other than test but I've always been a fan of Design for Testability. 

Thoughts on defining some extension like this?

Received on Tuesday, 25 June 2013 19:05:09 UTC