Hi Community,

For some reasons, we have been following *_test.go for test classes. Test
methods intended as commons/helpers are not exposed to other test classes
because of the naming convention followed to name the test class files.

On a quick search around good practices, had come across these well known
Go testing libs

https://pkg.go.dev/net/http/httptest
https://pkg.go.dev/testing/iotest

It seems to be a good example of naming the test files. Please share your
thoughts on renaming the test files in our repository.

Thanks,
Mani

Reply via email to