Skip to content

Globally set verbose level of $ to quiet #323

Discussion options

You must be logged in to vote

To do this, you can have a tests setup file via the setupTestsAfterEnv. You can set $.verbose = false in that file because it is invoked before all other test files.

As for regular source code, the principle remains. Simple add $.verbose = false to a file executed before any other file, like the main file of your program.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by OlaoluwaM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant