News for hackers. Stuff that matters.
Re:Ask HN: What's the best way to learn about testing/TDD? by juice_bus on Friday April 28, 2017 @09:22AM (#14219122)
In the same vein, are there any open source projects that need unit tests? I've searched github for "Unit Test/Testing" but came up with mostly abandoned/old/very small projects.

I'd like to practice writing tests but would prefer if they didn't go to waste, or at least added value to something else.

Re:Ask HN: What's the best way to learn about testing/TDD? by daleharvey on Friday April 28, 2017 @09:31AM (#14219179)
I am a maintainer of PouchDB - https://github.com/pouchdb/pouchdb/, I probably spend more time working on the tests than any other part of PouchDB. We have a large test suite but still plenty of room to work on improving. If you were looking to work on testing then would be happy to give some guidance.
Re:Ask HN: What's the best way to learn about testing/TDD? by jlangr on Friday April 28, 2017 @10:46AM (#14219766)
There's a big difference between writing tests for existing code and TDD. I think it's a great idea to first try and write tests for someone else's existing code so you discover what a pain it is.

https://searchcode.com can be useful in helping find repos based on code criteria.

Were it me, I'd build something small and interesting to me, write some unit tests against it after-the-fact. Then I'd do it again, using TDD the 2nd time to see how the approaches differed.