TDD
Posted: Mon Nov 03, 2008 11:47 pm
I'm new to TDD and had a question. Say I had a method that sets a variable to true. To perform a test, I would need to write another method to get the value. I do not need this method in my code. Is there another way to go about testing this?
EDIT: Woops, I guess this should go into the testing board.
EDIT: Woops, I guess this should go into the testing board.