README

What is this?

Detest is a test assertion library for Go that draws inspiration from the Perl Test2-Suite library. The goal is to provide a wide range of assertions that make it easy to work with complex data structure, and to provide excellent output when an assertion fails.

It's still a work in progress, but it has enough assertions for many types of tests.

Expand ▾ Collapse ▴

Directories

Path Synopsis
conversion-table This is little program to help me understand what sort of type conversions are allowed.
pkg/detest Package detest implements a DSL-ish interface for testing complicated Go data structure, as well as structured output on test failures.
pkg/detest/internal/ansi
pkg/detest/internal/term
pkg/detest/internal/testhelper