abide icon indicating copy to clipboard operation
abide copied to clipboard

📸 A Go testing utility for http response snapshots.

Results 8 abide issues
Sort by recently updated
recently updated
newest added

I'd rather know early if there are snapshots that need cleaning up, rather than finding out while adding something unrelated. Keeps things tidy. I thought of giving Cleanup() this behaviour...

I believe this is from 1.15 on (read a [long discussion] if you're interested): ``` $ go test ./... # github.com/beme/abide ./abide_test.go:25:9: conversion from int to string yields a string...

Because abide library always write the snapshot file [here](https://github.com/beme/abide/blob/4c487ef9d895f5be7aabedffb11a2d7be36c86ef/abide.go#L102) when calling `abide.Cleanup()` the tests are never cached. Do we need to save those snapshots every time in the cleanup? ###...

When retrieving a binary response body, convert it to hexadecimal so we can safely add it to the snapshot file.

Building on the changes described in #39 into a more sustainable solution. I think it would make sense to isolate these configuration details into a struct that behaves in a...

This package supports asserting arbitrary types so long as they implement the `Assertable` interface. This feature is not particularly well documented, and #33 highlighted a few common use cases that...

docs