Skip to content

Refactor testing #12

@sudo-bmitch

Description

@sudo-bmitch

Testing doesn't follow idiomatic Go patterns very well, since tests are in a different package from the code being tested, and test data is mixed in the directory with the tests. Raising this issue as a future task for myself to refactor the test code with the following:

  • Move data to testdata
  • Move tests on functions to be in the same package next to that function
  • Move end to end tests that call external hosts to run with a specific tag

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