-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Secure Continuous Delivery on Google Cloud
By :

Continuous testing automates as much of the testing as possible, running the tests frequently (before and after each build) as part of a CD pipeline.
This approach has the following benefits:
Using continuous, automated testing doesn’t mean you won’t also run some manual tests, such as exploratory or usability testing, throughout the delivery process.
Now, let’s look at the types of testing that are typically included in continuous testing.
The following are some test types typically used in continuous testing:
And now, let’s see how to make continuous testing happen.
The following is a list of fundamental principles and practices for teams to implement continuous testing:
This approach ensures that tests are always updated based on code changes and that developers write code that is relatively easy to test. The natural consequence and best realization of this approach is the test-driven development (TDD) practice, which is described next.
The developer then writes the minimal amount of code necessary to make the test pass. After the test passes, the developer then refactors the code, which involves cleaning up and optimizing the code without changing its functionality.
As much as possible, unit tests should do the work of detecting issues. When an error is found in acceptance tests or other manual tests, create an automated unit test for that behavior to ensure that this error is detected sooner if it occurs again.
Now that we’ve covered the main elements of continuous testing, we’ll explore automated deployment in the next section.