QA Must Test with Debug Builds


If you follow my recommendations in Chapter 3, you'll have some excellent diagnostics in your code base. The problem is that, generally, only the developers benefit from the diagnostics. To better help debug problems, the quality engineers need to be using the debug builds as well. You'll be amazed at how many problems you'll find and fix when the quality assurance (QA) folks do their testing with debug builds.

One key point is that any assertions you add to the code can have their UI output disabled but still report errors in a log file so that they do not mess up any automated tests the QA department runs. In the next chapter, I discuss assertions for managed code and how important they are. My SUPERASSERT.NET, which is a much-improved user interface for assertions over the standard .NET Framework message box, has ways of turning off any pop-up message boxes or other interrupting output that causes automated tests to fail.

In the initial stages of the product cycle, the quality engineers should be alternating between debug and release builds. As the product progresses, they should gradually start concentrating more on the release builds. Until you reach the alpha release milestone, at which point you have enough of the features implemented to show customers the product, you should have the quality engineers use the debug build two to three days a week. As you approach beta 1, they should drop to two days a week. After beta 2, when all features and major bugs are fixed, they should drop to one day a week. After the release candidate milestone, they should be on the release build exclusively.




Debugging Microsoft  .NET 2.0 Applications
Debugging Microsoft .NET 2.0 Applications
ISBN: 0735622027
EAN: 2147483647
Year: 2006
Pages: 99
Authors: John Robbins

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net