Unit testing

Unit testing verifies that the individual units within a component produce the desired behavior. The units are tested in isolation from each other and from external resources through the use of test doubles. Unit testing should account for the vast majority of automated test cases. In this day and age, unit testing should be a standard practice across all projects. I will merely highlight some interesting aspects of unit testing as they pertain to the context of cloud-native.

Cloud-native components are very focused with little if any code that is shared across components. As such, there is less reliance on frameworks, such as dependency injection and object-relational mapping. In fact, when implemented using function-as-a-service, ...

Get Cloud Native Development 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.