Showing posts with label tdd. Show all posts
Showing posts with label tdd. Show all posts

Friday, May 25, 2012

What"s the proper way to test a class with private methods using JUnit?


How do I use JUnit to test a class that has internal private methods? It seems bad to change the access modifier for a method just to be able to run a test.

Best practices for unit testing Android apps


I'd like to unit test my Android application but I found that test driven development in Android is far from trivial at the moment.

Friday, May 4, 2012

Dead-simple introduction to TDD (Test driven development)


Even though there are plenty introductions to TDD (even in PHP, my primary programming language now), I'm feeling a bit stuck about it.

Monday, April 16, 2012

Eat, Sleep and Breathe Unit Testing/TDD/BDD


I do write unit tests while writing APIs and core functionalities. But I want to be the cool fanboy who eats, sleeps and breathes TDD and BDD. What's the best way to get started with TDD/BDD the right way? Any books, resources, frameworks, best practices?