Calpine Interview Question

How do you go about testing your code?