O'Reilly logo

Beautiful Testing by Adam Goucher, Tim Riley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Writing Tests

The Windmill integrated development environment (IDE), shown in Figure 21-2, provides a cross-browser solution for recording, editing, and testing your suites of test actions. This part of the tool isn’t exactly beautiful, but after using it you will see the extensive utility that it brings to the project.

Of all the pieces covered in this section, the recorder comes the closest to something that could be described as beautiful in its ability to reliably guess what you as a user are trying to simulate. Even if the recorder doesn’t make the cut as a beautiful feature, it can still save you a lot of time.

Snapshot of the Windmill IDE

Figure 21-2. Snapshot of the Windmill IDE

At OSAF the quality assurance team working on Cosmo was pretty small: one and a half QA engineers for eight developers who were building features at a rapid pace. Like any other project, quality assurance is absolutely necessary, manual testing happens, and automation is one of those things you want but don’t have the time or resources to implement. We managed to dedicate a small amount of time and some very concise requirements: fast and efficient test writing and editing, coverage of all the major features in our application, and features and compatibility for existing continuous integration software.

Accomplishing the speed aspect of test writing was tightly coupled to the recorder, which started out generating JavaScript Object ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required