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

  • SEARCH
  • Home
  • 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 1110035
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:19:56+00:00 2026-05-17T02:19:56+00:00

I have ran into a situation at work where it has been proposed to

  • 0

I have ran into a situation at work where it has been proposed to add our units tests to the Cruise Control continuous build process. The units test would be added as another project in CC, so that we would have a “Normal Build” project and a “Build and Test” project. We currently use the “Normal Build” process to a) make sure that no developers have broken the build, and b) make sure that the build is not broken when a release is about to be pushed to QA/Production.

By adding unit tests to the process we can a) be notified when a unit test has been broken so we will check to make sure that it was not one that we wrote, and b) ensure that no units are failing before a build gets released to QA/Production.
So I understand the benefits, but I still am concerned about how this will affect our development process. Here’s the scenario’s that I see occurring…

Current process…

  • Build Server builds Cruise Control
    “Normal Build” project
  • Light goes red (in cruise control)
    when build fails
  • Blamed developer gets a troll

The new process...

  • Another CC project is added for “Build and Test” (now two projects)
  • Light is green for “Normal Build” project
  • Light goes red for “Build and Test” project
  • Blamed developer gets…

Scenario one: Blamed developer get’s NOTHING. We’re doing TDD and it’s OK if unit tests fail. “Build and Test” project is red and we’re not about to push a build to QA.

Scenario two: Blamed developer gets TROLL, “Build and Test” project should never be red.

Anyway, I’m curious to read what the thoughts are on this process? Please keep them brief. Does your team includes units tests in the build. If so, do you follow TDD? Do you always strive to keep your builds with tests as all passing?

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-17T02:19:57+00:00Added an answer on May 17, 2026 at 2:19 am

    Anyway, I’m curious to read what the
    thoughts are on this process? Please
    keep them brief. Does your team
    includes units tests in the build. If
    so, do you follow TDD? Do you always
    strive to keep your builds with tests
    as all passing?

    Well, we’re not always perfectly consisten about it, but in principle: yes, and yes.

    Point 1:

    IMHO, you really must run your tests in the daily build. Otherwise test failures in places where you didn’t expect them will go unnoticed for a while – this defeats the whole purpose of unit testing. It’s only useful if test failures are noticed immediately.

    Obviously, during development there will be phases where you break tests (e.g. refactoring). But these should be as short as possible (minutes, ideally), and you typically only check in once they pass (just as you only check in once stuff compiles). If you need to do more extensive rework, you need a private branch :-).

    Point 2:

    As to what happens when tests break: Well, you fix them (you, or whoever broke them). Strict reprimands should be unnecessary in a good team. But that is really a social question…

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

Sidebar

Related Questions

I've been working on optimizing a query and have ran into a situation that's
I ran into this situation today. I have an object which I'm testing for
I ran into this RegExp /[[0]]/ in JavaScript, and have been wondering what it
I have ran into a problem that i suspect has to do painting/drawing elements
I'm trying to use scalaz validation in our project and have ran into a
I'm creating a WPF custom control and ran into a situation. A lot of
I have ran into an interesting issue while trying to create a more usable
Currently developing a PHP framework and have ran into my first problem. I need
I'm building a module installer for my CMS and i have ran into a
I am learning JQuery, and I have ran into an odd issue. I made

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.