Maturity and cost
As you can see from the previous flowchart, continuous integration only covers the build and the test steps. It ensures that the code is tested before deploying to servers. Even though it is considered the least mature practice among the three, we still need to write enough unit tests and integration tests to keep the test coverage at a high percentage. Otherwise, it cannot really be called continuous integration.
To achieve continuous delivery, we will need to deploy the code to the staging environment automatically and then execute E2E tests automatically. In our application, we write our E2E tests based on Nightwatch.js. As mentioned before, in those tests, those mini-robots will actually open the application inside a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access