origin-energy / java-snapshot-testing

Facebook style snapshot testing for JAVA Tests
MIT License
109 stars 15 forks source link

Overwrite the `.snap` instead of writing `.snap.debug` #131

Closed nedtwigg closed 1 year ago

nedtwigg commented 1 year ago

Is there a mode for this? Either an environment variable or something in snapshot.properties?

jackmatt2 commented 1 year ago

Yes - see here https://github.com/origin-energy/java-snapshot-testing#automatically-updating-a-snapshot-via--pupdatesnapshotfilter

nedtwigg commented 1 year ago

Oops, thanks! Stupid of me that I couldn't find this on my own. Submitted a little PR to help with the keywords I was stuck on.

jackmatt2 commented 1 year ago

I think the docs have grown beyond a simple README.md now. Might need to do this https://pages.github.com/

nedtwigg commented 1 year ago

FWIW, my vote is always to stick with markdown and never go github pages. It was easy for me to tweak the markdown docs to help people who get stuck the same way I got stuck. I would not have bothered to figure out your github pages setup.

Breaking the readme down into multiple markdown files is probably a good idea though.