Fill in the blanks
be stored in /test/ root subdirectory for the project functions accepting a testing.Test parameter passing closures to testing.AddSubtest() returning an error from the function
/test/
testing.Test
testing.AddSubtest()
error
begin with test_ functions matching [a-z]Test$ calling testing.Subtest() allowing testing.Assert() to fail its assertion
test_
[a-z]Test$
testing.Subtest()
testing.Assert()
be stored in a /test/subdirectory of that package functions accepting a testing.Tester parameter writing functions with names matching ^Subtest calling testing.AssertionFailed
testing.Tester
^Subtest
testing.AssertionFailed
end in _test.go function names matching ^Test[A-Z] calling t.Run() calling t.Errorf()
_test.go
^Test[A-Z]
t.Run()
t.Errorf()