Ken Brubaker

The ClavèCoder

<November 2008>
SuMoTuWeThFrSa
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456


Navigation

Subscriptions

News

Kenneth Brubaker
Senior Application Architect

Locations of visitors to this page

Post Categories



Saturday, June 05, 2004 - Posts

VSTS: Is unit testing a Development or QA Function?

Q: Is unit testing a Development or QA Function?
A: Both!

In the comments section on a posting by Jason Anderson, a VSTS member, regarding the positioning of their Unit Testing offering, people are really failing to understand unit testing. VSTS Developer contains unit testing as well as VSTS Tester.

Developers write the tests, QA runs them. Is that so hard to understand?

The power of unit tests are realized when they are incorporated in the the nightly build that is traditionally run by QA.

Many people misunderstand the components of a professional build regimen:

  1. Version Source and Deployment Files
  2. Get files and gather file inventory for report
  3. Compile code and gather results (fail if errors)
  4. Execute FxCop project and gather results (fail if errors)
  5. Execute Reference Documentation Build (NDoc or other) and gather results (fail if errors)
  6. Deploy to unit test server*
  7. Install unit test environment (DB etc)*
  8. Perform unit test regression testing and gather results, including code coverage results (fail if errors)
  9. Build setup.exe and/or deployment (disk) image gather results (fail if errors)
  10. Re-image deployment test integration servers
  11. Deploy product to servers and gather results (fail if errors)
  12. Run QA Smoke Test or Acceptance Test and gather results (fail if errors)
  13. Generate build report
  14. Evaluate the results

*Simple products do not require setting up a unit test environment as the build output is sufficient.

The point here is that QA is very much involved in evaluating and verifying the quality of code based on the Unit Test and concomitant code coverage results, even if, in most organizations, they do not write the unit test code.

 

posted Saturday, June 05, 2004 6:43 AM by kenbrubaker with 0 Comments




Powered by Dot Net Junkies, by Telligent Systems