testthat
testthat copied to clipboard
Enable custom snapshot file name
The use case is connected to the https://github.com/r-lib/testthat/issues/1938
I would like to be able to give a custom file name for a snapshot. Currently this is hardcoded to be identical as file name (stripping "test-" part) and it cannot be changed.