Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
sariel84473yThe product value we added wasn't the tests we created, but the bugs we created along the way!
-
KDSBest7713yAlternatives to TDD:
Acceptance Test-driven development (ATDD),
Domain-driven development (DDD)
Behavior-driven development (BDD),
Example-driven development (EDD) and story test-driven development (SDD).
Edit: Event driven development...
So pick your poison. -
TDD is actually quite hard to do right - definitely not for the faint of heart... or juniors.
Sadly, my creative workflow just dosn't fit writing unit tests before functional code in most cases (algorithms being the exception)... -
Read this
https://blog.cleancoder.com/uncle-b...
If that doesnt change your mind, I guess nothing will -
Is it that TDD has not been proven blah blah something, or is it that TDD has been studied and the studies found it doesn't reduce blah complexity blah metrics.
The two are very different things.
Also sauce? -
Hazarth95213yTDD is not just about code complexity. It forces you to think about the problem abstractly first and think about "what if's" of the task and create tests for that, and then that serves to navigate you through the actual implementation, because there's no way you're going to forget "that one edge case" if you already though about it and covered it just to be sure, instead of just covering what you already know works after implementation is done
TDD leads to much more precise planning process and less buggy implementations as long as it's done right.
that being said, I don't find TDD natural to do or think about and I rarely do it. But when I do use it, it's a pretty good tool -
@KDSBest
DDD is about modeling your business processes in an OOP-style + ideas on how to organize/scope a business domain (this is where Microservices originated)
TDD is a method to write testable code. -
Well, I find myself doing just-in-time TDD by revising the flow of implementation up to 10 times. But I realize that it's not enough for speed and solidity.
-
KDSBest7713y@SuspiciousBug I and wikipedia don't agree, but could be a language barrier thing. Because english is my second language.
-
I like TDD.. although I do more of a development driven testing nowadays 😅
Related Rants
TDD has not been proven in studies to provide substantial reduction in cyclomatic complexity or other metrics of software development.
joke/meme
change my mind
tdd