MarvinJWendt / testza

Full-featured test framework for Go! Assertions, fuzzing, input testing, output capturing, and much more! 🍕
MIT License
418 stars 21 forks source link

Startup message cannot be disabled #164

Closed mikelorant closed 2 years ago

mikelorant commented 2 years ago

Due to the ordering of how init() is loaded from imports first, there is no way to actually set the startup message to be disabled within tests.

Looking at the unit tests, it is clear that only the variable is being checked, not that the output is being verified as not displayed which explains why it passes testing but does not actually do anything at all.

MarvinJWendt commented 2 years ago

Hi @mikelorant, sorry for the late response! The fix will be deployed in the next minutes. 🚀