Posts by David Clarke

Github Webapps MochiTest Repo

David Clarke

Github Webapps MochiTest Repo

Hey just wanted to show everyone the portability / coolness of javascript test frameworks, and how you can achieve cross device api compatibility.

The example that I am going to show is the soon to be performed work on mozilla central to port the webapps extension into the mozilla code base.

The exciting part about this we get to test against code that hasn’t been written just yet. Now since the codebase i want to test will eventually be on mozilla central , but is currently not.  I didn’t select the option of testing against a debug build.

Building Firefox:

MochiTest Basics:

 Assuming you have built mozilla central and you are able to run MochiTests, then what next.Well firstly you will want to choose a location for your tests.

Now If you are working on webapps this directory might be: dom/tests/mochitest, as it looks as a lot of tests that are dom related lie there.

You will then have to create a directory “foobar“, and edit and add your directory below

DIRS  +=

Next step would be to create a inside your directory foobar. Attached is a github commit which establishes our base repository.

First step is getting a working mozilla central source.




Continue reading

Sikuli testing in python

David Clarke

Recently just started my first open source project, hosting on github, codebase is in Python. This is a project that is meant to test the Web Apps Runtime for Mozilla. If there are any python reviewers out there, it would be great to get some feedback / pull requests if you see anything […] Continue reading

Vision Based Testing – An Experimentation / Learning Experience — Time To Test Web Apps Jan 20th, 2012

David Clarke

I have recently been experimenting with a vision based testing framework Sikuli (, and wanted to share some of my findings / expertise with the community. As with any new tool there are ups and downs, installation difficulties, learning curve..etc.. The hope with this test day is that you can walk away with expertise / […] Continue reading

GTAC 2011: My Takeaways Part I

David Clarke

How to hit a moving target ? Translation Service for Microsoft 37 languages Log Aggregation Service Monitor solution -Logs / Trace / Statistics – Data Available for Querying – Challenges Personally identifiable info Generate 1000′s of tests Factoids Lots of arrows – Lots of tests precisely hit bulls eye – degree of closeness cost of […] Continue reading