views:

370

answers:

3

What are some decent guides / books / blogs that deal with application acceptance testing? I'm particularly interested in web automation. I'm familiar with some of the frameworks and I'm more interested in the perceptions of "best practices" on the subject as well as how to maintain sizable amounts of these tests.

A: 

A great wiki-based acceptance testing tool is Fitnesse It is based on an idea attributable to Ward Cunningham

It has a good documentation/community which should get you started with proper book links etc.

Hugo
A: 

Google Testing Blog

Paul Croarkin
+1  A: 

Tools

There are a few resources and tools out there:

  • Fit - uses Excel or Word documents to write table-based specifications
  • Fitnesse - based on the above but with a wiki-based implementation (Java, C#)
  • Concordion - uses HTML files decorated with custom attributes (Java, C#, Python, Ruby)
  • Cucumber - write your specifications in plain text files (Ruby, Java, C#)
  • SpecFlow - a pure .NET implementation of Cucumber's Gherkin-language.

Of the above frameworks I have been a heavy user of both Fitnesse and Specflow and have written the .NET port of Concordion. After experience with all I find the idea of Cucumber/Specflow the best implementation because working with plain test is almost always preferable.

Almost all of these tools can be extended to use open source web testing frameworks like

Of course, the above mentioned frameworks can also be used on their own.

Best Practises

The Cucumber wiki is a good starting point for information on how to write good tests. The best way to write better tests though, IMHO, is to start doing something like Behavior-Driven Development. Using the Given-When-Then syntax to structure your tests and provide some context to them is the best way to get value out of them.

Jeffrey Cameron