Skip to content

Consider having expect_snapshot(x, style = "serialize") go to a binary file #2333

@TimTaylor

Description

@TimTaylor

If we ignore the question on whether testing values in this way is appropriate is there a particular motivation to have style = "serialize" create a text representation rather than a binary file? I ask as the text file ends up larger than the binary representation and diffs are not useful for the text representation.

Would you consider having type = "serialize" go to a binary snaps file instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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