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:
- Unit tests must be run and pass
- New tests must cover the newly added code
- 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 ...