Unit testing on a build server : Release or Debug code?

Viewed 6183

In .NET(C#) is there any advantage/disadvantage to go with debug/release build for unit testing?

Which target configuration do you usually use for unit testing on a build server? Does it matter?

What about code coverage (for this one I'm guessing debug versions are needed).

7 Answers

We are running both, Debug + Release.

We output a separate tests results xml for each build.

Sometimes there are errors in Debug only, and sometimes in Release only, you want to catch them all ASAP.

Good luck!

Related