Skip to content

Add unit testing for package routeanalysis #288

Closed as not planned
Closed as not planned

Description

@general-kroll-4-life

Add unit testing for internal/stackql/astanalysis/routeanalysis.

Acceptance Criteria:

  • 85% unit test coverage.

Activity

  1. converted this from a draft issue on Oct 3, 2023
  2. joshjms commented on Oct 23, 2024

    @joshjms

    Hi, I can take this. Would be great if someone can guide me through it :D

  3. general-kroll-4-life commented on Oct 23, 2024

    @general-kroll-4-life
    ContributorAuthor

    Hi, I can take this. Would be great if someone can guide me through it :D

    Hiya @joshjms,

    Thanks for your interest. Loosely, to add unit tests, you add one or more <something>_test.go files to the package in question, similar to /internal/stackql/garbagecollector/garbagecollector_test.go.

    There is a small section on unit testing in our developer guide, that links out to the official golang doco.

    If you have a go and get stuck, please reach out any time.

  4. jeffreyaven commented on Nov 13, 2026

    @jeffreyaven
    Member

    Closing as obsolete. The routeanalysis package was removed in #874. Provider planning and routing tests should target omnisdk and the current StackQL integration boundary.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions