0

I am new to testing so please bear with the obvious unfamiliarity.

I have a solution with multiple projects, configurations and app settings. There is already a compiler directive to warn on non-Release builds but this is often ignored. I'm looking for a more visible warning during testing. Something that acts as a checklist for testers to do before they can proceed.

I have a unit test project in the solution. There are three questions here:

  • Can a unit test be set up to run as a post-build event?
  • Is there a way to prevent publishing the solution in non-Release mode?
  • Is using a unit test trigger standard practice?

If there are other alternatives, what are they?

4

0 回答 0