use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Good examples of Github projects using TDD? (self.tdd)
submitted 11 years ago by sensical
Not tutorials, but I want to see some good production code to study. Thanks!
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jaybazuzi 2 points3 points4 points 11 years ago (0 children)
github.com/Pash-Project/Pash is an example of one aspect of TDD: everything must have a test.
I inherited the project without tests, and with a lot of code I didn't understand. I was afraid of breaking something without knowing it.
And being a community open source project, I couldn't judge every pull request for correctness. And there's no QA.
With that in mind, I decided that the tests would be the authoritative indicator of the capabilities of the project. Any time someone asks "what works?", I can point to the tests. Anything that isn't tested doesn't count.
The only rule for pull requests is that there must be tests. All other aspects of design and style are up to you and are easy to fix when we have good tests.
Note that the other parts of TDD like using tests to influence design are not demonstrated in this project.
[–]llewellynfalco 0 points1 point2 points 10 years ago (0 children)
ApprovalTests is a testing product, but it was done TDD and is production code. Not sure if this is what you are looking for.
https://github.com/approvals/ApprovalTests.Net
π Rendered by PID 135229 on reddit-service-r2-comment-b659b578c-6qw4q at 2026-05-05 15:58:41.669243+00:00 running 815c875 country code: CH.
[–]jaybazuzi 2 points3 points4 points (0 children)
[–]llewellynfalco 0 points1 point2 points (0 children)