Snapit: Snapshot Testing for C

(mattjhall.co.uk)

13 points | by ingve 2 days ago ago

1 comments

  • 6d65 18 hours ago ago

    Keep up the good work and thank you for sharing.

    I wasn't sold about the source level snapshot tests, they seemed clunky and not that universal. But, I am definitely giving snapit a try after this blog post, and the other two linked.

    I might have to add a few things, most notably the support for multiline strings for more readable ascii art based prints, but I have a good feeling about this, but will see how it goes.