2 ms·
> First, my credentials. More than half of all the code I wrote in my life is test code. My name is attached to hundreds of pages of TDD. Am I supposed to trus
by keybored 3y ago
> First, my credentials. More than half of all the code I wrote in my life is test code. My name is attached to hundreds of pages of TDD.
Am I supposed to trust you more or less from this introduction?
> But neither codebase has tests, for example, that take a long-ass time to run.
Is this for real? Any hint of tongue-in-cheek? The two projects have tests. But they don’t have long-ass-running tests? It sounds like they might test the core data structures and core logic. But maybe they don’t “integrate” by setting up and tearing down all application state and friends. So maybe what is ostensibly missing are those integration tests to complement the lean core-logic tests.
And it’s surprising that the heavy integration tests leave little return? Why? They are long-ass-running, they are hard and messy to set up, and in the worst case they just work as a smoke test, which you can do manually once in a while anyway.
Losing faith on testing for what? They already do testing.