This week I’ve been busy working on implementing a test suite for the Selectors API specification. I picked up a new microphone recently so I decided to do a quick walkthrough of the work that I’ve been doing and how I’ve been going about it. You can view the the video below:
Implementing a Selectors API Test Suite
You can run the test suite for yourself here (it’s still very much in flux – there are various parts that may still be wrong):
Here’s a quick break down of a test run that was done earlier:
– Special Firefox 3.1 Build (73.8% – More details)
– Safari 3.1 (49.3% – No Fragment or Namespace support)
– WebKit Nightly (51% – No Fragment or Namespace support)
– Opera Gogi – “ACID3 Build” (76.7% – No Fragment support)
– IE 8 (Can’t run – the file is proper XHTML so it tries to download it.)
– Firefox 3, Opera 9.5, IE 7 (0%)
Remy Sharp (July 10, 2008 at 4:51 pm)
Totally unrelated to the content of the screencast, but I picked up a new mic (Samson) recently too and use it for jQuery for Designers – and I’ve had the same issue as your screencast has – the sound comes mostly out of the left side :-(
You have to force iShowU to capture in mono to sort it.
[back to watching your screencast]
Buck Wilson (July 10, 2008 at 5:04 pm)
Are you running the Samson SoftPre software? I had the same problem, but if I run that while recording, everything is all good. Mind you I use ScreenFlow, but it shouldn’t matter.
Mark Rowe (July 10, 2008 at 5:15 pm)
When I run the selectors API test in Firefox 3 I see the following: 0.0%: 0 passed, 2516 failed
How exactly did you get 73.8% for Firefox 3?!
Oliver (July 10, 2008 at 5:16 pm)
Firefox 3 gets 0 on my machine, what am i doing wrong?
John Resig (July 10, 2008 at 5:26 pm)
@Remy Sharp, Buck Wilson: I have a Samson too – I’ll be sure to run the software next time!
@Mark Rowe, Oliver: Sorry, I mis-typed. Only a special build of Firefox 3.1 gets 73.8% – Firefox 3, naturally, has 0% since it hasn’t been implemented yet. I’ve fixed the blog post (it was right in the video.)
Ryura (July 10, 2008 at 7:13 pm)
John – your More Details link that you just added has an extra ” at the end, breaking the link.
Havy (July 10, 2008 at 8:00 pm)
I can confirm what Ryura said.
Mauvis (July 10, 2008 at 11:04 pm)
Cool screencast. Just a couple of suggestions:
1) I noticed that if you encode your video into an flv and upload it, it ends up looking 2-5x better on most video sites since they don’t usually reencode it. My vids are pretty clear and around the same size (megs).
2) Don’t know what screencast you’re using (probably a free one) but since you’re on a mac, I’d recommend ScreenFlow (http://www.varasoftware.com/products/screenflow/). I stumbled across it when I needed to do a screencast and didn’t like using Jing. It’s simplicity, usability, and quality blew me away. I rarely pay for software but it’s a must haves like Transmit and Quicksilver. Download the demo and see if I’m BS’ing.
3) Don’t know what mic you got but I just bought the Logitech ClearChat Comfort USB Headset ($35) from Amazon and it worked flawlessly on the Mac without the needs for drivers. I use it for screencasts and ichat now. I’m considering getting the Sennheiser PC 166 USB, though. Mmmm Sennheiser.
I always like to push the stuff I dig and hope I didn’t come off as spammy. I don’t work for any of the product’s I mention above.
Keep doin’ what you’re doin’ jQuery and qUnit rocks!
Pete (July 11, 2008 at 6:54 am)
Keep It Up! Great!
Fabrizio Calderan (July 11, 2008 at 2:13 pm)
FYI Firefox 3.0 on Ubuntu 8.04 passes 3.1% of selectors test page
John Resig (July 11, 2008 at 2:21 pm)
@Fabrizio: Probably not any more – I’m constantly adjusting the tests trying to get them to work better.
David Smith (July 11, 2008 at 6:34 pm)
WebKit trunk is up to 83.4%. Hooray for test suites :)
David Smith (July 11, 2008 at 6:38 pm)
…actually this is a bit odd. I get 99.1%, but if #target is on the url (which is automatically added, so this will happen if I reload the page, for example) it drops down to 83.4%.
Lapeo (July 16, 2008 at 5:07 am)
Thanks for very interesting article.
Ezra (July 26, 2008 at 8:49 am)
72.4%: 3008 passed, 1144 failed now on firefox 3.1a2pre
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1a2pre) Gecko/2008072603 Minefield/3.1a2pre ID:2008072603
Better test results or did they brake it in the latest builds?
fanboy (August 23, 2008 at 8:16 am)
# 99.3%: 2381 passed, 16 failed
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1a2pre) Gecko/20080823195003 Firefox/3.0