Other posts related to testing

Ext JS & Selenium IDE

May 14, 2010 9:10 pm

This user extension makes ExtJS testable.  The only problem is you still have to set the ID of each component you use.  Otherwise minor code changes cause false positives in test cases and they’ll fail even though the test should have passed.  As long as you’re okay with setting all of you IDs, you’ll be alright!

We’re working on automating this in our sweet JavaScript framework based on ExtJS.  I hope we’ll eventually get to continuous integration based on Selenium scripts.

ExtJS is a cross-browser JavaScript library for building rich internet applications.
Selenium IDE has trouble testing apps written in ExtJS.

There are two reasons:

  • First, the DOM of ExtJS widget is complex, many elements have a dynamic id
  • Second, ExtJS is based on JavaScript context

via record and assert Ext JS – Selenium IDE – OpenQA Wiki

Google Testing Blog: How to Write 3v1L, Untestable Code

November 5, 2009 6:37 pm

A decent list of techniques to screw you up when it comes to testing.

This guide lists principles that will help you write impossible to tests code. Or, avoiding these techniques will help you write code that can be tested.

via Google Testing Blog: How to Write 3v1L, Untestable Code.

Get Adobe Flash player