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 575325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:55:41+00:00 2026-05-13T13:55:41+00:00

Given a short sprint, is it ever acceptable to forgo TDD to get things

  • 0

Given a short sprint, is it ever acceptable to forgo TDD to “get things done” within the sprint.

For example a given piece of work might need say 1/3 of the sprint to design the object model around an existing implementation. Under this scenario you might well end up with implemented code, say half way through the sprint, without any tests (implementing unit tests during this “design” stage would add significant effort and the tests would likely be thrown away a few times until the final “design” is settled upon).

You might then spend a day or two in the second week adding in unit / integration tests after the fact.

Is this acceptable?

  • 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-13T13:55:42+00:00Added an answer on May 13, 2026 at 1:55 pm

    A 2 week iteration isn’t short for a lot of people. Many of us are doing one week iterations. Kent Beck is even trying to encourage daily deployments – and there are advantages in cleaning the dev process up so it can be that responsive.

    NEVER reduce TDD quality to get stuff out – It’s so much harder to clean up later and you just end up teaching the customer that they can pressure you into quick, dirty, hacked releases. They don’t see the crap code that gets produced as a result – and they don’t get to maintain it. If somebody tried to get me to do that I’d quit… and I have refused to work in places that “don’t have time to test properly”. That’s not an excuse that works.

    NOTE: When I write about TDD, I’m including functional tests. These are important because they should exercise scenarios that make sense to the customer in terms of recognizable user-stories. I normally start work on a story with the functional test because it’s the most important test – “test customer gets what they described…” All the other tests might be up for negotiation, but when I’m team leading I expect at least one functional test per story or it’s (as scrum people say) “not done!” 😉

    Don’t think you can go in and add tests later – it’s so much more difficult to do that. (I have tried it both ways – believe me.) It really is cheaper to put tests in as you go – even if you have to refactor and rewrite, or throw some away as the system evolves.

    You can’t get quality code without having decent code coverage ALL the time.

    Code test coverage is the important word here. Covering stuff that could break, not just zillions of meaningless tests – critical tests that cover things you need to worry about.

    If you can’t get it out in time and it’s a problem you need to think why?

    • Is it a planning/release scheduling problem?
    • Is there a code maintenance/refactoring problem that holds things up?
    • Are there people putting unreasonable pressure on the team? (get the CTO to beat them up…)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

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.