The Art of Unit Testing – Automated Builds and Continuous Integration (notes)

Anatomy of an Automated Build Process (items marked with bold face are critical)
  1. get the latest source code version
  2. compile projects on latest version
  3. deploy build output to test server
  4. run tests locally on the test server
  5. create archive of build outputs (number, date)
  6. deploy outputs to staging and production
  7. notify relevant people if any test has failed (by email)
  8. merge databases
  9. create reports on build quality, history, test statuses
  10. file issues automatically if the test has failed
Continuous integration  = making the automated build and integration process run continuously.
Types of automated builds
  • nightly build  - for long running tests and system tests
  • release build - runs nightly build, then deploys to server and archives
  • continuous integration  - every few minutes (ex. 10) runs the fast tests
This entry was posted in The Art of Unit Testing (Roy Osherove). Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(insereaza codul din stanga)