Skip to Content
Serverless computing in Azure with .NET
book

Serverless computing in Azure with .NET

by Sasha Rosenbaum
August 2017
Intermediate to advanced
468 pages
12h 5m
English
Packt Publishing
Content preview from Serverless computing in Azure with .NET

Getting more granular

In the preceding case, the function is the smallest testable unit. However, in many cases, even the simplest functions will rely on a functionality defined in another class, or supplied by external APIs. The more complex the function gets, the more external components it relies on, the more likely it is that a full function test will be an Integration test rather than a Unit test.

Even if we do not choose to encapsulate the calls to external APIs in a separate unit, the dependencies themselves dictate the fact that we are moving further towards Integration tests. This fact can be seen clearly when we write tests, as we will notice a long list of things that need to be mocked, or relied upon. You will see an example of ...

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.
Start your free trial

You might also like

Mastering Azure Serverless Computing

Mastering Azure Serverless Computing

Lorenzo Barbieri, Massimo Bonanni
Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781787288393Supplemental Content