Hacker News new | ask | show | jobs
by mcdonc 6187 days ago
I'm the primary author of said nonsense. I didn't do TDD on this project, for the record.

So was my mistake in actually writing these tests or was it just advertising them? ;-)

1 comments

I think it's great that your framework is 100% tested. I hold my iPhone toolkit (ZergSupport) to the same standard.

The part I wasn't happy about was that you need 8000 lines of tests for 3000 lines of code. Without having actually read your code, these numbers make me think that your framework makes testing difficult. I strive to keep my tests smaller than the code they're testing, and I'm sad when that fails.

Perhaps it's better to advertise 100% code coverage, rather than say that tests are 72% of your codebase?

Re: the previous TDD comments... TDD is supposed to make you think about tests, so when you write the main code it's more testable. TDD projects supposedly have smaller tests. Disclaimer: I haven't grasped TDD yet.

Got it. "Advertising" problem, not an actual problem then.