Skip to content

Extract hand-written tests in engine_test.go to a separate file #4

Description

@fpetkovski

The TestQueriesAgainstOldEngine tests in engine/engine_test.go make the file very long and hard to modify.

We should extract them to a separate file with load and eval instructions, similar to how it's done in https://github.com/prometheus/prometheus/blob/main/promql/promqltest/testdata/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions