Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
I found it in the PR
OK, but what does it mean? Is more verbosity good? Is there a number that's considered "good enough"? I'm just curious because I've never heard this term before.
What is considered good is largely up to you and your preference. Some people prefer that a test is very specific and only testing one thing, which means the verbosity level should be very low. If a test has a large number of assertions then the reasons for a failure may be more complex to determine than a test with a single assertion. The verbosity number is a good indicator of tests becoming overly complex. Again, this is entirely up to you and what you prefer as well as what you are testing, some tests will naturally have a lot of asserts.