Making Better Unit Tests: part 1, the AAA pattern

From Unit Testing, Principles, Practices, and Patterns by Vladimir Khorikov

In this article I’ll give you a refresher on some basic topics. I’ll go over the structure of a typical unit test, which is usually represented by the Arrange-Act-Assert pattern. I’ll also show the unit testing framework of my choice — xUnit — and explain why I’m using it and not one of its competitors.

Improving Mad Libs with Expressions

From Terraform in Action by Scott Winkler

This article discusses how we can improve a Mad Libs generator using expressions.

All about Hadamard Gates

From Quantum Computing for Developers by Johan Vos

This article discusses The Hadamard Gate: what it is, what it has to do with quantum computing, and how to create a simple quantum applications with a Hadamard Gate and some Java code

Change the Way You Approach Software Design

From Grokking Simplicity by Eric Normand

What Makes Code Extensible and Flexible?

From Practices of the Python Pro by Dane Hillard

This article covers

  • Using inversion of control to make code flexible
  • Using interfaces to make code extensible
  • Adding new features to your existing code

A Design-First Approach to APIs

From Designing APIs with Swagger and OpenAPI by Joshua S. Ponelat

The Guide to Using Powershell on Linux and macOS

From Learn PowerShell in a Month of Lunches, Linux and macOS Edition by Travis Plunk and Tyler Leonhardt

Where do People Fit Best into the Machine Learning Loop?

From Human-in-the-Loop Machine Learning by Robert Munro.

The Subtleties of Good Voice UI Design

From Voice-First Development by Ann Thyme-Gobbel

This article delves into capturing and documenting voice UI design.

What is a Unit Test? Part 2: classical vs. London schools

From Unit Testing by Vladimir Khorikov

This part covers:

• The two schools of unit testing: classical and London

• The differences between unit, integration, and end-to-end tests

© 2020 Manning — Design Credits