8000 sauron: Refactor tests to reduce code repetition · Issue #622 · lightningd/plugins · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
sauron: Refactor tests to reduce code repetition #622
Open
@ca-ruz

Description

@ca-ruz

Currently, there are four separate test files for Sauron, each corresponding to one of the four different backends. These test files contain repetitive setup code and assertions, with almost identical logic across all files. This duplication makes the tests harder to maintain, less efficient, and prone to inconsistencies when updates are needed.

We should:
-Consolidate the similar tests into a single parameterized test file.
-Use parameterization to test all four backends within the same structure, reducing redundancy and improving maintainability.

Related to #584.

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

      0