Kesk -*-
Nov 1, 2020

--

Hello, a test with many assertions means that you are probably testing a function that does more than one thing. Although there can always be exceptions I prefer small functions each with its own test. If I want to test a function that does N things with N assertions I can always use an integration test.

--

--

Kesk -*-
Kesk -*-

Written by Kesk -*-

Software engineer - software Enthusiast - Sci-Fi writer.

Responses (1)