General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Continuous Delivery
comments
Comments by "" (@ContinuousDelivery) on "Testing Is Bad For Developer Productivity" video.
My experience has been VERY different, the "dirty secret of TDD" is that most people who dismiss it have never tried it. I have been working in teams who practiced TDD for several decades, and, as a consultant advising teams who don't at the same time, I have not see a single team, not one, that doesn't practice TDD that is as fast as a team that does. This is because the TDD teams spend a LOT less time fixing bugs, and built better designed code.
2
The best measures for productivity are "Stability & Throughput" as defined by the DORA group. They measure the quality of our work and the efficiency with which we can do work of that quality. You have to take both together, they don't "trade-off", you don't get to go faster by doing lower quality work. These are best described in the Accelerate book.
2
I prefer not to test it after I have fixed it, I prefer to write the test as part of fixing it. I want a test that demonstrates the bug, before I write the fix. This approach avoids the problem that you describe here.
1
I assume then that you work on things where it doesn't really matter if they work or not.
1
They are VERY different things, PBT is an "after the fact" testing approach, example based testing is a design approach. I don't think that design is useless, unless it is very bad design, and the point of clearly specifying what should happen in each example of use is the best way I know to avoid bad design.
1
Sorry I think that is an overly simplistic view of testing, common, but not really the point of the kind of testing that we usually talk about on this channel. Test DRIVEN Development is not about testing the code after it is written it is about encouraging us to design better systems, by preferring systems that are more testable. Testable systems are more modular, Cohesive and have a better Separation of Concerns, are better abstracted and more loosely coupled. All of these things are markers of higher quality in code. So TDD encourages/forces us to write higher quality code!
1
Why? Doe the Medical profession leave washing their hands before surgery to the surgeons? Do pilots leave the decision about the takeoff speed to each pilot? Of course not. Having guidelines is how professions establish standards and improve.
1
@rockenOne You think I haven't paid my dues as a dev? 🤣🤣🤣
1