Continuous Integration

Old Process

  1. Check out the needed source files from your source code repository.
  2. Make changes to the code.
  3. Click Build on the Visual Studio menu, and hope everything compiles.
  4. Go back to step 2. You did get compile errors, didn’t you?
  5. Run unit tests, and hope everything is green. We hope you’re running unit tests.
  6. Go back to step 2. Unit tests do fail. In this case, you’ll see red. Perhaps in more
    ways than one.
  7. Refactor the code to make it more understandable, and then go back to step 5.
  8. Check the updated code into the source code repository.

New Process

  1. An automated system watches the source control system. When it finds changes,
    it gets the latest version of the code.
  2. The automated system builds the code.
  3. The automated system runs unit tests.
  4. The automated system sends build and test results to a feedback system so that
    team members can know the current status of the build.

 

Continuous Integration_第1张图片

 

Build automation

Compiling the source code
Preparing the database
Performing tests
Analyzing the code
Creating installation routines and deploying
Creating documentation

 

你可能感兴趣的:(integration,continuous)