Logging in Unit Tests, a Bad Practice

Logging is an inevitable part of debugging. Well, at least in modernhigh-level programming languages and architectures. It wasn���t thirty years ago, in Assembly, but it is now. Sometimes we trace variables, but rarely. More often we just print them to console. Moreover, we don���tjust print them using println or whatever it is we have for consoleprinting; instead, we send messages to a logging framework, which deals with the console or any other logging destinations, like files. The beau...

 •  0 comments  •  flag
Share on Twitter
Published on August 10, 2021 17:00
No comments have been added yet.