What are the benefits of Continuous Integration (CI)?

The benefits of Continuous Integration (CI) are as follows:

  1. CI makes the current build constantly available for testing, demo and release purposes.
  2. With CI, developers write modular code that works well with frequent code check-ins.
  3. In case of a unit test failure or bug, a developer can easily revert back to the bug-free state of the code.
  4. There is a drastic reduction in chaos on release daywithCI practices.
  5. WithCI, we can detect Integration issues much earlier in the process.
  6. Automated testing is one very useful side effect ofimplementingCI.
  7. All the stakeholders including business partners can see the small changes deployed into the pre-production environment. This provides early feedback on the changes to the software.
  8. Automated CI and testing generate metrics like code coverage and code complexity that help in improving the development process.