News for hackers. Stuff that matters.
Re:Hurl: Run and test HTTP requests with plain text by adelineJoOs on Friday June 20, 2025 @04:07AM (#44325621)
> Snapshots can also stub out parts of the response that are not determistic.

TIL! The way I knew to do it was to have a mock implementation that behaved like the real thing, expect for data/time/uuids/..., where there was just a placeholder. Snapshot tests being able to "mask" those non-deterministic parts sounds cool!

There are no comments on this comment yet.