Early on in the prototyping stage when I was first getting used to HTML5 and JSON, I’d written a very rough and primitive suite of tests to test what I was trying to do. In fact, if you look back to the earliest commits into my github repo, you’ll see it floating around here or there.
While it may still be a little rough, I’ve spent a bit of time pushing it together into a structure to allow some level of testing automation with the BBB Video Player. It’s pretty much an array of functions, each running a test case and returning true/false but it does the job pretty well. In addition to return value, each test case may also alert from within to display specific messages. UI on the page still allows for manual testing. The test page can be found here.
Interestingly the process of testing the framework already helped identify a bug in the BBB Player. The proof is in the pudding?

Leave a Reply