-
-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Description
Currently snapshots are stored in a separate files which is super-convenient for updating them, but makes reading the tests more difficult, because you don't have a test code and tests result near each other.
One could imagine a three argument form of assert_debug_snaphot_mathes
, where the third argument is the text of the snapshot. It seems like this won't work, because updating the snapshot will require updating the source code, but perhaps it is possible? Snapshots have a well-defined header, so just grepping src
for them should perhaps work? This sounds like a terrible idea, but I can see myself using it :)
max-sixty
Metadata
Metadata
Assignees
Labels
No labels