CI

CI is the process of merging code changes into a mainline branch (for example, often a master branch if using Git) early and often. Before a merge from a development branch to a master branch, some preconditions should be met:

  1. Unit tests must be run and pass
  2. New tests must cover the newly added code
  3. Another team member must do a code review or be the result of a pair programming session

In a serverless system, there aren't many special considerations when talking about CI. Pair programming, unit testing, and test coverage are ideas that are not unique to any particular architecture. However, there are a few tricks to setting up serverless application code that make testing easier and even fun. I'll discuss some specific scenarios and ...

Get Serverless Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.