trunk icon indicating copy to clipboard operation
trunk copied to clipboard

Get snapshot tests in place for full build cycle.

Open thedodd opened this issue 5 years ago • 3 comments

Probably use https://github.com/rust-analyzer/expect-test

thedodd avatar Sep 01 '20 02:09 thedodd

Tip: Look at https://cynic-rs.dev/quickstart.html - cynic's author uses insta for snapshot testing.

MartinKavik avatar Sep 01 '20 09:09 MartinKavik

@MartinKavik nice, thanks for the tip. Have you used cynic per chance? I've used graphql-client quite heavily (author sites it as a source of inspiration), however I haven't tried cynic yet. I've been watching it since it was first announced though.

thedodd avatar Sep 04 '20 00:09 thedodd

Have you used cynic per chance?

See https://seed-rs.org/0.7.0/time_tracker_graphql. I'm waiting for cynic's mutations support (it's WIP, maybe it's already in master) to continue with the tutorial.

MartinKavik avatar Sep 04 '20 00:09 MartinKavik