views:

306

answers:

8

We got a lot of untested code but we want to change this, so we started writing unit and Selenium tests. But of course these tests have to be run sometimes.

I know it's possible to run tests automatically. Do you know good pratice-oriented books or websites dealing with this problem?

Thanks for any recommendations!

+4  A: 

Elfreide Dustins Introduction to automated testing is a good starting point. She is also a mod for the automated testing section of SQA forums and is open to discussing any specifics on the topic.

Shane MacLaughlin
Thanks alot. Those links seem to be really interesting!
Olvagor
I certainly found the SQAF site very useful when I started down the automated testing route, and have received a fair bit of good advice from the folks over there, including Elfriede, over recent years.
Shane MacLaughlin
+1  A: 

Any continuous integration system will help you. This is exactly one of their purpose.

Here's some:

Cruise Control: http://cruisecontrol.sourceforge.net/

Hudson: http://feeds.feedburner.com/KohsukesHudsonBlogs

Continuum: http://continuum.apache.org/

Team City: http://www.jetbrains.com/teamcity/

Loki
A: 

I recommend Pragmatic Project Automation by Mike Clark.

John D. Cook
A: 

Everyday Scripting with Ruby: for Teams, Testers, and You by Brian Marick

Are you a tester who spends more time manually creating complex test data than using it? A business analyst who seemingly went to college all those years so you can spend your days copying data from reports into spreadsheets? A programmer who can’t finish each day’s task without having to scan through version control system output, looking for the file you want?

Željko Filipin
Rather not recommended: just touches the theme.
Zsolt Botykai
A: 

Scripted GUI Testing with Ruby by Ian Dees

If you need to automatically test a user interface, this book is for you. Whether it’s Windows, a Java platform (including Mac, Linux, and others) or a web app, you’ll see how to test it reliably and repeatably.

Željko Filipin
A: 

For Perl, [Perl Testing, a Developer's Notebook][1] [1]: http://www.amazon.com/exec/obidos/tg/detail/-/0596100922/ref=ase_penguintelecomin/102-8353601-4848123?v=glance&s=books"Perl Testing, a Developer's Notebook"

Brian Carlton
A: 

The December 2008 issue of Testing Experience magazine is dedicated to test automation. It contains an interesting set of articles covering many facets of automated testing. You can subscribe to the pdf download for free via the website.

Sam Warwick
A: 

I've found xUnit Test Patterns by Gerard Meszaros pretty helpful. It isn't specific to any language. Probably not the best beginners book, but it certainly helped me get over the hump when I started out to being more comfortable with what I was doing.

PhilCo