O'Reilly logo

Cloud Native Development Patterns and Best Practices by John Gilbert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required