Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Studio
  4. Test Driven Development - is it worth it?

Test Driven Development - is it worth it?

Scheduled Pinned Locked Moved Visual Studio
testingbeta-testingquestiondiscussion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cor2879
    wrote on last edited by
    #1

    Hello, I have been looking into Test Driven Development lately, where the Unit Tests are designed and created first, and then production code is constructed to fulfill the unit test contracts. I am sold on the value of Unit Testing, however I am not yet convinced that true Test Driven Development offers significant return for the time spent in adjusting development practices. It would be great if some other professionals who have used TDD could share some of their experiences, good or bad, and share whether or not they found TDD to be a truly beneficial practice, with the understanding that I am asking specifically about TDD and not ordinary Unit Testing. I understand there's no magic bullet and I'm not expecting that, just looking for the best practice that makes the most sense for our development procedures.

    "We are men of action; lies do not become us."

    R A 2 Replies Last reply
    0
    • C cor2879

      Hello, I have been looking into Test Driven Development lately, where the Unit Tests are designed and created first, and then production code is constructed to fulfill the unit test contracts. I am sold on the value of Unit Testing, however I am not yet convinced that true Test Driven Development offers significant return for the time spent in adjusting development practices. It would be great if some other professionals who have used TDD could share some of their experiences, good or bad, and share whether or not they found TDD to be a truly beneficial practice, with the understanding that I am asking specifically about TDD and not ordinary Unit Testing. I understand there's no magic bullet and I'm not expecting that, just looking for the best practice that makes the most sense for our development procedures.

      "We are men of action; lies do not become us."

      R Offline
      R Offline
      R Giskard Reventlov
      wrote on last edited by
      #2

      I've yet to work anywhere that implemented true TDD. The desire is there but time constraints, business needs and a constantly shifting playing-field usually mean a compromise is struck such that tests are created after the code is written to satisfy management, if time allows. Not saying it is right or wrong, just how it is.

      "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

      C 1 Reply Last reply
      0
      • R R Giskard Reventlov

        I've yet to work anywhere that implemented true TDD. The desire is there but time constraints, business needs and a constantly shifting playing-field usually mean a compromise is struck such that tests are created after the code is written to satisfy management, if time allows. Not saying it is right or wrong, just how it is.

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        C Offline
        C Offline
        cor2879
        wrote on last edited by
        #3

        I suspected as much :-)

        "We are men of action; lies do not become us."

        1 Reply Last reply
        0
        • C cor2879

          Hello, I have been looking into Test Driven Development lately, where the Unit Tests are designed and created first, and then production code is constructed to fulfill the unit test contracts. I am sold on the value of Unit Testing, however I am not yet convinced that true Test Driven Development offers significant return for the time spent in adjusting development practices. It would be great if some other professionals who have used TDD could share some of their experiences, good or bad, and share whether or not they found TDD to be a truly beneficial practice, with the understanding that I am asking specifically about TDD and not ordinary Unit Testing. I understand there's no magic bullet and I'm not expecting that, just looking for the best practice that makes the most sense for our development procedures.

          "We are men of action; lies do not become us."

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          Very often clients like it if you can boast of, say. 85% test coverage.

          The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups