
JUnit
Pocket Guide
by Kent Beck · first published 2004
2mentions
0recommended by
2HN commenters
2010–2016first – last mentioned
100% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.

…Addison-Wesley. Winner of the Jolt Productivity Award. (ISBN 978-0321146533) 2003. Contributing to Eclipse: Principles, Patterns, and Plugins. With Erich Gamma. Addison-Wesley. (ISBN 978-0321205759) 2004. JUnit Pocket Guide. O'Reilly. (ISBN 978-0596007430) 2004. Extreme Programming Explained: Embrace Change, 2nd Edition. With Cynthia Andres. Addison-Wesley. Completely rewritten. (ISBN 978-0201616415) 2008.…
on “Mastering Programming: An Outline” ↗…the right thing. Get some kind of testing framework. Look into Test Driven Development as a methodology. With a testing framework, you won't waste time rolling your own. For Java, you could start with JUnit. TDD is a formalized approach to writing test functions as you work, which you already do, while simultaneously designing your code. There are many sources on it around the internet, but Kent Beck's…
on “Ask HN: How do people really test their code?” ↗