Thursday, March 15, 2007

The Conflict of Test Driven Development and Compile Time Code Analysis

So, I'm sitting here pairing on some code and we write our test which involves generating a method stub. We attempt to compile, but we're thrown a load of errors as we've got our code analysis set to terminate (i.e. do not compile if your code sucks). But I'm finding this furstrating as the code isn't compiling as we're not using the parameters of the new method, but this is because we haven't implemented it yet and I want to see it fail!

So we have to suppress the error to make it compile, and hope to remember to take out the suppressions.

Now that sucks!

1 comment:

Anonymous said...

Keep up the good work.