Just curious:
When you release software builds in Q / A, do you prefer to always use the "RELEASE" version, or do you sometimes use the DEBUG version?
Here's my puzzle: We like to use Asserts as traps for conditions that should never happen.
On the one hand, it might be useful for Q / A to test our software with Assertions enabled so that if they can create a script that triggers an assertion, they can let us know.
On the other hand, there is always a risk that the developer encoded the statement so that it changed the behavior of the code. In this case, Q / A should test the assembly with Assertions disabled.
To date, we always had Q / A valid on our Relesae assemblies, as it was the code that would be delivered. However, I am thinking of trying a template where our really early releases in Q / A will come out with statements included. Then, when we get closer to delivery, we will notify them that their builds are disabled.
What do you guys think?
source
share