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
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
Move large test files into their own separate files and load as fixtures, so that it is easier to see what tests are being run.
Also, it might be good to take advantage of go subtests as well. This will allow for more descriptive failures instead of the whole testing failing. e.g:
cases := []struct{
name string
}{}
for _, case := range cases {
t.Run(string, func(t *testing.T) {
// where the magic happens
})
}
The text was updated successfully, but these errors were encountered:
Move large test files into their own separate files and load as fixtures, so that it is easier to see what tests are being run.
The text was updated successfully, but these errors were encountered: