Calpine interview question

How do you go about testing your code?