Skip to content

Make golden proof test data available to other languages #169

@mhutchinson

Description

@mhutchinson

https://github.com/transparency-dev/merkle/blob/main/proof/proof_test.go

The table-driven test data for TestInclusion and TestConsistency could be written out to golden files, e.g. as json. These could then be available for tests of inclusion and consistency in other languages.

This would enable sigstore/sigstore-rs#285 to have a clear exit criteria for correctness. I imagine other languages would also benefit from this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions