Tag

unit-testing-principles-practices-patterns

Making Better Unit Tests, Part 2: naming unit tests

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

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.

© 2020 Manning — Design Credits