re: My first ever unit test VIEW POST

re: I've been a professional developer for almost 25 years - never written unit tests

Pretty common honestly. There's a lot of shops that never got on board with TDD, and probably an equal number that tried, but aren't doing it correctly.

I won't deny they help when done well, but more often than not I've seen unit tests bolted onto the end of a project with poor/no requirements, functioning as little more than code-wise documentation of the state of the system at the time the test was written, rather than its adherence to business logic mandates.

code of conduct - report abuse