Integration Testing an Entire *Existing* Application (w/ automatic execution of test suite)

Posted by Ev on Stack Overflow See other posts from Stack Overflow or by Ev
Published on 2010-05-23T23:55:40Z Indexed on 2010/05/24 0:00 UTC
Read the original article Hit count: 319

Hi there,

I have just joined a team working on an existing Java web app. I have been tasked with creating an automated integration test suite that should run when developers commit to our continuous integration server (TeamCity), which automatically deploys to our staging server - so really the tests will be run against our staging web app server.

I have read a lot of stuff about automated integration testing with frameworks like Watir, Selenium and RWebSpec. I have created tests in all of these and while I prefer Watir, I am open to anything.

The thing that hasn't become clear to me is how to create an entire test suite for an application, and how to have that suite execute in it's entirety upon execution of some script. I can happily create individual tests of varying complexity, but there is a gap in my knowledge about how to tie everything together into something useful.

Does anyone have any advice on how to create a full test suite and have it execute automatically?

Thanks!

© Stack Overflow or respective owner

Related posts about testing

Related posts about continuous-integration