You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have setup a test suite for each file of my package. I also redirect logs (from go-logging) into testing.T. The failures and logs are duplicated in the output of each suite. This is quite confusing.
The text was updated successfully, but these errors were encountered:
Erm, actually I was confused by the documentation : I have wrote a TestFunc for each suite, without understanding that calling TestingT() would run all suites. Calling TestingT() only one time solve the issue. Also redirecting logs to check.C instead of testing.T seems to attribute the logs to the right tests.
I have setup a test suite for each file of my package. I also redirect logs (from go-logging) into testing.T. The failures and logs are duplicated in the output of each suite. This is quite confusing.
The text was updated successfully, but these errors were encountered: