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

Unit testing

Unit testing verifies the functionality of a specific section of code. In object-oriented programming, a unit often refers to the entire class, although it could also refer to each particular method. Unit testing aims to eliminate the development defects before the code is promoted to QA.

While unit testing is useful to detect code defects, it's primary aim is not debugging. Unit tests, usually, help improve the code quality by forcing certain coding standards. They also significantly improve regression testing by making it easy to verify that the new code did not introduce defects to existing features.

In unit testing, each test case is independent of others. Unit testing tools, typically, use method stubs and mock objects to ...

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