pointfreeco / swift-snapshot-testing

📸 Delightful Swift snapshot testing.
https://www.pointfree.co/episodes/ep41-a-tour-of-snapshot-testing
MIT License
3.75k stars 570 forks source link

Add dumpWith to enable further transformations of the generated string with dump #688

Open buscarini opened 1 year ago

buscarini commented 1 year ago

I've had some issues with some objects, where a memory address would not be correctly erased. I think it would be better if this was customizable from the outside, because right now there doesn't seem to be any way to customize the output of the snap function. What do you think?