Skip to content

Add information about snapshot cleaning workflow in vignette, especially regarding variant #1615

Open
@cderv

Description

@cderv

This is a question I asked myself in the past: Does _snaps folder need some cleaning when you change the snapshot expectation ?

This topic arises mainly when using variant argument and the value change because of refactoring for example. The folder for snapshot will change and so what is needed in the process as those files are followed on git ?

It seems testthat will take care of that and a local devtools::test() should remove what is unused.

If that is all that would be interesting to mention. If there are some edge case, it could be good too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions