Skip to content

Test files are not in _test package #9

@bbengfort

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.

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