prasek / loupe

Golang test tools that make it easy to see small details

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

loupe

(/ˈluːp/ LOOP) is a simple, small magnification device used to see small details more closely.

Build Status codecov

Diff(a,b).String()

Diff any type and get color coded unified diffs for terminal output. Uses diffmatchpatch internally.

AssertDeepEqual(t, a, b, msg)

Use to compare large structs and get color coded unified diff output to the console while debugging.

Mock()

Test double for testing.T that captures TestResults including stdout.

About

Golang test tools that make it easy to see small details

License:Apache License 2.0


Languages

Language:Go 88.5%Language:Makefile 11.5%