testdriven.com Wrangling quality out of chaos

Archive for May, 2009

Automated GUI Testing: ETM, a Siemens Company—Squish for Qt users since 2007

05.31.2009 · Posted in Advisories

We spoke to Wolfram Klebel, one of ETM’s development and testing engineers, and asked him what products ETM tests with froglogic’s automated GUI testing tool Squish.

ETM use Squish to test their SCADA (Supervisory Control and Data Acquisition) software—PVSS. This software is used for controlling complex industrial and infrastructure systems including traffic tunnels, water treatment plants, subway systems, and the new particle accellerator at CERN.

Read the full story at http://www.froglogic.com/pg?id=ReferenceCustomers&category=Squish-Success-at-ETM

Coverity® Co-Founder Receives ACM Grace Murray Hopper Award

05.31.2009 · Posted in News

Coverity, Inc., the software integrity company, announced that co-founder Dawson Engler has been awarded the Grace Murray Hopper Award by the Association for Computing Machinery (ACM) for his groundbreaking research on automated program checking that identifies defects in complex computer software.In naming Dr. Engler to this award, ACM noted that, "Dawson Engler introduces and develops powerful techniques and tools for practical program analysis that automatically detect errors in code. These methods have now been widely used to check large, complex software systems, uncovering many hidden defects. Dr. Engler’s grounded, insightful, and practical approach to automated program checking has served as an inspiration to several other efforts and tools for finding problems in complex software systems."

The Grace Murray Hopper Award is given to the outstanding young computer professional of the year, selected on the basis of a single recent major technical or service contribution. This award is accompanied by a prize of $35,000, which is provided by Google. The candidate must have been 35 years of age or less at the time the qualifying contribution was made.

"On behalf of the research groups at Stanford and Coverity, it’s an honor to accept the prestigious ACM Grace Murray Hopper Award," said Dawson Engler, associate professor of computer science and electrical engineering at Stanford University and Coverity co-founder. "The field of effective error detection has exploded in the past decade, and it’s my hope we can realize a similar magnitude of improvement in the next ten years. For too long, the pervasiveness of computation has led to the same story: Software is everywhere, but all software is prone to crashing, therefore everything is prone to crashing. I believe we are on the right trajectory to deliver a credible means of ending this costly storyline, so developers can finally focus on building software instead of firefighting failures."

Dr. Engler helped lead the creation of the technology behind Coverity’s software analysis system at Stanford University with Coverity co-founders Ben Chelf, Andy Chou and Seth Hallem who continue to grow Coverity’s precision source code analysis capabilities. Dr. Engler remains on faculty at Stanford and continues as an advisor to Coverity. Today, more than 600 customers rely on Coverity to ensure the integrity of their applications.

"The Grace Murray Hopper award is very impressive, particularly given the fact that previous winners include innovators such as Steve Wozniak, Don Knuth and Richard Stallman," said Seth Hallem, co-founder and CEO of Coverity. "Dawson remains an integral part of helping Coverity shape the technological underpinning of our software integrity strategy. On behalf of Coverity employees, customers and partners we congratulate him on his recognition."

About Coverity

Coverity (www.coverity.com), the software integrity company, is the trusted standard for companies that have a zero tolerance policy for software failures, problems, and security breaches. Coverity’s award winning portfolio of software integrity products helps customers prevent software problems throughout the application lifecycle. Over 100,000 developers and 600 companies rely on Coverity to help them ensure the delivery of superior software. Coverity is a privately held company headquartered in San Francisco with offices in 6 countries.

New job and a good book

05.31.2009 · Posted in Advisories

Dear Friends,

I am happy to announce that I have taken a job at Guidewire Software. Guidewire is a unique company that takes quality and testing very seriously and has been able to attract some of the best TDD practitioners in the Silicon Valley. I am looking forward to learning much from them.

In preparation for my role on the testing team, I have been re-reading Goiko’s Bridging the Communications Gap book. I consider this a special book because in addition to the requisite coverage of the latest tools and techniques this book also vividly reminds and inspires us to never forget that clear and accurate communication is the bedrock of any quality initiative. His anecdotes from various fields of endeavour clearly illustrate the fact that accurate communication is a problem as old as our civilization and has to be dealt with appropriately before any team can succeed in its mission.

FEST-Swing 1.2a1

05.14.2009 · Posted in Java

We are proud to announce the release of FEST-Swing 1.2a1!

FEST-Swing is a Java library that provides a fluent interface for functional Swing GUI testing. This library provides an easy-to-use API that makes creation and maintenance of GUI tests easy.

This is the first out of three alpha and three beta releases planned for version 1.2. This new version focuses on new features and improvements.

More details, please read the release notes.

Pyxis Technologies – Test Driven Development

05.12.2009 · Posted in Links


2 days

Test-driven development or TDD is a software development method in which the writing of automated tests controls the writing of the source code.

The cycle recommended by TDD includes five steps:

1. Write a test.
2. Check to see if the test fails.
3. Write the minimum amount of code necessary for the test to pass.
4. Check to see that the test passes.
5. Refactor the code.

TDD is a very effective technique for delivering well-constructed software with a non-regression test suite. Practicing TDD is at the root of Agile software development processes that emphasize rapid and frequent delivery of functional software components. Automated unit tests written in TDD and automated acceptance tests that were written first are unavoidable practices that a good Agile software development team must master.

The key objective of this workshop is to master through practice the test-driven development technique. The workshop combines theory, practice, and the experience of an expert trainer who actively participates to the implementation of Agile engineering processes and practices within various development teams.

Once the general concepts of test strategies have been presented, participants will first of all discover code refactoring and the writing of automated unit tests. They will understand the benefits associated with TDD and how to use TDD as a design method. The hands-on exercises will illustrate that TDD is mainly designed to specify a desired behaviour and not to write tests. The course will also address the other types of tests recommended by Agile approaches. We will also discuss the implementation of test strategies as well as advanced concepts such as Mock Objects.
Target audience

This workshop is intended for development teams that wish to discover test-driven development through practice. The workshops are offered in C#, in Java, or in Ruby.

* The different types of tests:
o Unit tests
o Integration tests
o Functional tests
o Acceptance tests
* Code refactoring:
o Basic principles and motivations
o When refactoring should be done
o How refactoring is done
o Code smells
o Most prevalent refactoring
o Implementation
* TDD principles and good practices:
o TDD principles
o Goals and benefits
o Creating tests before programming
o Emergence of design based on tests
* Practicing TDD:
o TDD practice workshops
o Findings and discussions
o Guidelines for object-oriented design
* Advanced techniques:
o Mocks, Stubs, Fakes and Dummies

Pdf – training


FEST-Swing: GUI Testing Made Easy

05.12.2009 · Posted in Links

FEST-Swing is a Java library that provides a fluent interface for functional Swing GUI testing. This library provides an easy-to-use API that makes creation and maintenance of GUI tests easy.


dialog.optionPane().requireErrorMessage().requireMessage("Please enter your password");



05.12.2009 · Posted in Links

Web Functional Test Tool:

• Cross-platform and cross- browser tool for automated testing of web-based applications, web pages and portals
• Runs under Windows/Linux, FireFox/Mozilla/Internet Explorer/Seamonkey
• Supports regression, load and functional testing
• Capture/Replay
• Jython and Groovy scripting interface
• Intelligent tracking of GUI components on websites via different heuristics
• Tests are tolerant to GUI changes
• Real user simulation
• 100% Ajax-capable
• Integrated test debugger
• Modularization allows creating of reusable, robust tests
• Integration with HP TestDirector for Quality Center

• Supports data driven testing

There is a free demo/evaluation version available on the web2test website.

froglogic’s Squish Supports Automated GUI Testing on Apple’s iPhone and iPod Tou

05.12.2009 · Posted in News

Hamburg, Germany April 28, 2009—froglogic has announced that Squish, its leading, automated GUI testing tool, will support the testing of Cocoa Touch based applications on iPhone and iPod Touch devices and simulators.Cocoa Touch provides an abstraction layer over iPhone OS, the operating system used by the iPhone and iPod Touch. Cocoa Touch is based on the Cocoa API and toolset used for building software for Mac OS X computers.

Squish is a professional, cross-platform GUI and regression testing tool that enables testers to create and execute automated GUI tests for applications based on a variety of different GUI technologies. This includes applications based on Nokia’s Qt, Mac OS X Carbon and Cocoa, Java SWT/Eclipse RCP, Java AWT/Swing, Web/HTML/AJAX, and many other UI technologies. Squish stands out from other GUI test tools thanks to its close integration with each supported GUI technology—a feature which helps ensure that tests created with Squish are very robust and stable.

Squish testing a Cocoa Touch application running in the iPhone simulator.

The Squish GUI testing tool is the market leading tool for cross-platform GUI tests and the only GUI testing tool on the market that is capable of testing user interfaces on devices such as smart phones, mobile phones, and other specialized embedded devices. In addition, froglogic’s Squish supports a wide range of desktop platforms—Mac OS X, Windows, and X11 on Linux and Unix—for automated GUI testing.

Squish’s distributed network architecture enables tests to be controlled from desktop PCs, or from a server, while the application under test is executed and tested remotely, for example, on other PCs, or on embedded devices, such as the iPhone or iPod Touch.

"Squish has supported automated GUI testing on Mac OS X since 2005, with native support for the testing of Cocoa and Carbon based GUIs since 2007. These advances, along with the work done over the past few years to adapt Squish to work on several embedded devices and technologies, provided us with a lot of solid building blocks for extending our testing support to include Cocoa Touch applications on the iPhone and iPod Touch."

"We are also very excited by the interest the prospect of this new edition has generated both amongst our customers and from others who develop Cocoa Touch software. In fact, we are convinced that Squish will become an integral part of the development process for high quality iPhone applications."

—Rainer Schmid, froglogic’s leading Mac OS X expert.

A prototype of Squish for Cocoa Touch has been completed. A final version of Squish for Cocoa Touch will be included in the upcoming Squish 4.0 release. For further information and pre-release snapshots, please contact sales@froglogic.com. To learn more about froglogic and Squish, please visit http://www.froglogic.com.

Typemock will be launching a complete ASP.NET unit testing package

05.12.2009 · Posted in News

Typemock Ltd., the leading company in the .NET unit testing world, will be launching on 18/May/2009 a new product for ASP.NET developers – the ASP.NET Bundle – and for the launch will be giving out FREE licenses.

The ASP.NET Bundle is the ultimate ASP.NET Unit testing solution aimed at professional ASP.NET developers, and offers at a bargain price both Typemock Isolator and Ivonna, the ASP.NET Isolator add-on.

ASP.NET Bundle launch giveaway:
For the ASP.NET Bundle launch on 18/MAY/2009 Typemock will be giving away free licenses to bloggers and their readers. Follow the Typemock Blog , Typemock Site or Typemock Twitter for more details.

Typemock Isolator
Typemock Isolator is a .NET unit testing tool that enables developers to write simpler and maintainable unit tests. With Isolator, developers can create fake objects and test against them, instead of testing against external code. This helps developers to eliminate dependencies, test their code in isolation and achieve better code coverage, ultimately saving time and money, and delivering their code in a shorter period of time. Typemock Isolator gives .NET developers the power to unit test their code, by making unit tests easy to write and automate.
Typemock Ltd is an agile software development company founded in 2004 that creates solutions for simple and easy unit testing.

Unit testing with Ivonna creates and runs ASP.NET requests. Ivonna enables you to examine the intrinsic objects such as the Page object, execute in-process ASP.NET requests (no Web server required), to execute multiple requests in one test method, including postbacks and more. Ivonna 2.0, due to launch soon, includes brand-new features for ASP.NET Unit testing such as:
• test Web controls without adding them to a page
• add, remove, or replace HttpModules
• use a separate configuration file for your tests
• extend the framework by adding custom CThru aspects

Ivonna 2 will provide full support for ASP.NET MVC.

New Release: web2test version 1.2

05.12.2009 · Posted in News

JavaScript bridge sets new standards for the testing of web applications – handling and documentation of web2test improved as well

Software developer itCampus has released version 1.2 of its innovative test software. The tool allows for automated, functional testing of web applications and supports most of the established browsers from Internet Explorer to FireFox and Seamonkey.
During the past few weeks the itCampus developer team has been working on several new features which greatly improve the testing using web2test.

This precisely means:

-A JavaScript bridge in the new version grants the user read and write access to JavaScript objects in the browser DOM and hence opens a variety of new possibilities for the implementation of test scenarios.
-Via “rc.setOption” the majority of the program options can be set during runtime for selected test cases or parts thereof. This greatly increases the flexibility of test cases.
-web2test now includes new standard procedures for checking CSS properties like color or font attributes.
-The support of modal dialogs has been enhanced.
-Furthermore web2test now offers a revised and extended documentation; thus two tutorial chapters – one for the testing of AJAX elements and one for ensuring correct prerequisites have been added.

Holger Flemig, main developer of web2test about the new version 1.2: “With the new JavaScript bridge and the new rc.setOption feature there are practically no more limits for the testing with web2test.”