Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to report the effect of TDD

I am trying to become more familiar with test driven approaches. But I am embarrassed because I have to report the effect of TDD. I should report on the UT result to the superior. (I reported value of bugs, when I enforced UT(unit test).)

But I can not obtain the UT(unit test) result if I try TDD. Please let me know how to report the effect of TDD.


2 Answers

You can't easily measure the quality or value of code. In fact, code is a liability and only the resulting software is an asset.

In any case, TDD has very little to do with bug fixing or Quality Assurance. It is a software development discipline.

Although I know this may be difficult, you need to re-educate your manager.

  • TDD is a development methodology, not a testing practice.
  • Experience shows that TDD is superior in the long run.
  • Expect development time to be longer, but 'testing' periods to be shorter.
  • There will be fewer bugs, but there will still be bugs.
  • As you gain experience with TDD, the first project iteration or two may simply take longer overall, as with any learning experience.
like image 196
Mark Seemann Avatar answered Dec 16 '25 23:12

Mark Seemann


If you are using TDD, then the outcome of unit testing is not successful unit tests - it's the code that you wrote in order to make those unit tests succeessful. That's how to measure - how much code has been written.

like image 35
John Saunders Avatar answered Dec 16 '25 23:12

John Saunders



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!