Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3302398
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:50:51+00:00 2026-05-17T20:50:51+00:00

I have just joined a team working on an existing Java web app. I

  • 0

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!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:50:52+00:00Added an answer on May 17, 2026 at 8:50 pm

    Typically you are going to use Rake to automate the test execution. Assuming you are using Test::Unit for your testing you would setup your Rakefile With the following contents:

    require 'rubygems'
    require 'rake'
    require 'rake/testtask'
    
    Rake::TestTask.new do |t|
      t.libs << "test"
      t.test_files = FileList.new 'test/**/ts_*.rb'.sort
      t.loader = :rake
      t.verbose = true
    end
    

    This configures all test suite files under your project “test” folder by default. You can then run them with the command below:

    rake test
    

    and it will then execute all your test suites for your entire project. You can tell it to run a specific test by using the following syntax:

    rake TEST=path/under/test/folder/tc_filename.rb test
    

    Since you are using TeamCity you can then create a build and use the Rake runner to execute your test suites. TeamCity will pull all of the test information (output, stack traces, etc.) into the UI just like it does with JUnit. It is a very good integration.

    For reference, your test suites would look something like this:

    require 'test/unit'
    require 'path/relative/to/your/tests/tc_some_test1.rb'
    require 'path/relative/to/your/tests/tc_some_test2.rb'
    

    This way you can sequence your test cases within each test suite as desired.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just joined a team which has been working in a main-always mode for
I have just got a MacBook Pro and have been using it (+Fusion) to
I recently joined a team that is working on a ASP.NET MVC project.. they
The project that I have just joined uses the command pattern quite extensively for
I just joined a team thats developing a asp.net mvc 1 application. I only
I have just joined a company with Server 2003 Small Business Server. The company
I have a new web app that is packaged as a WAR as part
Have just started using Google Chrome , and noticed in parts of our site,
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Have just started playing with ASP.NET MVC and have stumbled over the following situation.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.