Skip to content

refactor: drive multi-backend test parameterization from harness instead of each test file #260

@The127

Description

@The127

Currently each integration/e2e test file contains an init() loop over testBackends to register parameterized Describe blocks. This works but means every test file has to be touched when adding a new backend.

The ideal approach would be to drive the parameterization purely from the harness/suite level so individual test files stay backend-agnostic. One option: a RunWithBackends(t GinkgoTInterface, fn func(h *harness)) helper that each test file calls once, hiding the loop and harness construction internally.

The challenge is Ginkgo v2's init-time spec registration — worth exploring whether GinkgoWriter, shared container nodes, or a custom suite runner can absorb the loop without touching individual test files.

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