Skip to content

[SDDL] Decoder Testing #609

@Tabaie

Description

@Tabaie

Decoders (be it SDDL or programmatic) can be non-trivial and pair with encoders written in other languages. Errors are hard to catch since a faulty decoder will not crash the compressor, rather silently produce worse results.

Is there an existing or planned testing framework for decoders? Perhaps a minimal interface along the lines of zli decode spec.sddl -i input-stream.bin -o output-segments.json with the user responsible for inspecting and validating the output. This is CI friendly, one can commit to the desired output and have git check that it hasn't changed after the zli call.

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions