News for hackers. Stuff that matters.
Re:TDD did not live up to expectations by stale2002 on Thursday June 29, 2017 @12:22PM (#14664491)
"What I've found works really well is independently writing tests afterwards to really test your assumptions."

Sure. If you actually do it.

The problem with most companies, and the reason why I think that TDD 'works' is that it forces you to right some tests, any tests at all.

Many people, if they don't write the test first, will just end up not making any tests at all.

Re:TDD did not live up to expectations by fran7118 on Thursday June 29, 2017 @03:11PM (#14666050)
Exactly. I worked at a place where the majority of dev teams had little to no automated tests. Getting them to write tests was near impossible due to it 'taking too much time away from features and bug fixes'.

One team adopted TDD and forced themselves to do it for a year. They admitted it slowed their overall dev-cycle down a ton, but they ended up learning a lot about how to build a well designed API. I think more internal documentation about good design emerged from that then them evangelizing TDD.

Re:TDD did not live up to expectations by Spivak on Thursday June 29, 2017 @04:48PM (#14666733)
If that's really the case then why not drop the ceremony and simply TTD to, "write some tests first."
Re:TDD did not live up to expectations by Retra on Thursday June 29, 2017 @07:54PM (#14667767)
Ceremony sells!