In order to access the names variable in tests (which is generally unexported) we need to either:
- Clone the variable definition into the tests
- Create an export_test.go file with the exports
To avoid this, for now our _gen_test.go files are in the top level package so the resolution doesn't have to be performed; however, we want to ensure that we have black box testing so this issue is about refactoring to fix it.
In order to access the names variable in tests (which is generally unexported) we need to either:
To avoid this, for now our
_gen_test.gofiles are in the top level package so the resolution doesn't have to be performed; however, we want to ensure that we have black box testing so this issue is about refactoring to fix it.