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

Naming convention

It is recommended that you choose a consistent naming convention for your tests, as it makes the results a lot easier to analyze. There are a number of approaches used for unit test naming. We will choose a popular naming convention described at http://osherove.com/blog/2005/4/3/naming-standards-for-unit-tests.html. Generally, the naming convention suggests that the unit test name should be comprised of the following:

[UnitOfWork_StateUnderTest_ExpectedBehavior]

Let's explore all the parts of the naming structure:

  • UnitOfWork: This is the unit under test, such as a class or method.
  • StateUnderTest: This is the requirement being tested. For instance, a description of the specific "type" of input parameters provided in this ...
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