Skip to content

Test files are not in _test package #9

Description

@bbengfort

In order to access the names variable in tests (which is generally unexported) we need to either:

  1. Clone the variable definition into the tests
  2. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions