snap-shot icon indicating copy to clipboard operation
snap-shot copied to clipboard

Require a snapshot for use in other tests.

Open bas080 opened this issue 8 years ago • 1 comments

I have this usecase where I would like to store my snapshot(happens automatically). The next time I run the test I would like it to use that snapshot (which is an array of things) to loop over. The reason is because I know the snapshot is valid. If the data that the snapshot was taken from changes, my other tests do keep running because they use the verified snapshot data.

  • Should I be doing it this way?
  • Would/should it be possible with snap-shot?

bas080 avatar Feb 22 '17 11:02 bas080

I feel like this is extra feature that would be complicated but you can do it yourself using snap-shot-core module!

Sent from my iPhone

On Feb 22, 2017, at 06:03, Bas [email protected] wrote:

I have this usecase where I would like to store my snapshot(happens automatically). The next time I run the test I would like it to use that snapshot (which is an array of things) to loop over. The reason is because I know the snapshot is valid. If the data that the snapshot was taken from changes, my other tests do keep running because they use the verified snapshot data.

Should I be doing it this way? Would/should it be possible with snap-shot? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

bahmutov avatar Feb 22 '17 13:02 bahmutov