Skip to content

Feature request - allow overriding of filenameΒ #33

Open
@patmacpherson-sc

Description

@patmacpherson-sc

Currently, the files are named after the executed test.

However, if you want to run multiple approvals in a single test (for example, with a table driven test) then the different approvals will overwrite each other.

It would be nice to have a function like-

func VerifyWithFilename(t Failable, reader io.Reader, filename string) 

which overrides the default naming behaviour.

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