Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1294279

Bug#1137034: ITP: golang-github-go-openapi-testify -- zero-dependency assertions library

From Guillem Jover <gjover@sipwise.com>
Newsgroups linux.debian.bugs.dist, linux.debian.devel
Subject Bug#1137034: ITP: golang-github-go-openapi-testify -- zero-dependency assertions library
Date 2026-05-18 23:10 +0200
Message-ID <MWdnP-69st-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: wnpp
Severity: wishlist
Owner: Guillem Jover <gjover@sipwise.com>

* Package name    : golang-github-go-openapi-testify
  Version         : 2.5.0-1
  Upstream Author : OpenAPI Initiative golang toolkit
* URL             : https://github.com/go-openapi/testify
* License         : Apache-2.0 and MIT and ISC and BSD-3-Clause
  Programming Lang: Go
  Description     : zero-dependency assertions library

 A set of go packages that provide tools for testifying (verifying) that
 your code behaves as you intended.
 .
 This is an active opinionated go-openapi fork of the great testify
 github.com/stretchr/testify package.
 .
 Its main features are:
 .
  * 95% compatible with stretchr/testify — if you already use it, the
    migration tool automates the switch,
  * Actively maintained: regular fixes and evolutions, many PRs proposed
    upstream are already in,
  * Zero external dependencies — you import what you need, with opt-in
    modules for extras (e.g. YAML, colorized output)
  * Modernized codebase targeting go 1.25+,
  * Go routine leak detection built in: zero-setup, no false positives,
    works with parallel tests (unlike go.uber.org/goleak),
  * File descriptor leak detection (linux-only),
  * Type-safe assertions with generics (see a basic example
    (https://go-openapi.github.io/testify#usage-with-generics)) — migration
    to generics can be automated too. Read the full story
    (https://go-openapi.github.io/testify/usage/generics),
  * Safe async assertions, extended JSON & YAML assertions,
  * Non-flaky async assertions using synctest, and internal tools exposed as
    standalone modules (spew, unified diff, goleak),
  * Documentation: searchable site (https://go-openapi.github.io/testify) with
    testable examples and a complete tutorial, plus detailed godoc
    (https://pkg.go.dev/github.com/go-openapi/testify/v2) for every assertion.
 .
 This fork isn't for everyone:
 .
  * You need the mock package — this got removed and won't be brought back.
    For suites, this is open to discussion
    (https://github.com/go-openapi/testify/discussions/75) about a redesigned
    approach,
  * Your project must support Go versions older than 1.25,
  * You rely on testifylint or other tooling that expects the
    stretchr/testify import path,
  * You need 100% API compatibility — the project is at 95%, and the remaining
    5% are intentional removals.
 .
 Status:
 .
 Design and exploration phase completed. The published API is now stable:
 moving forward, API changes will remain backward-compatible with v2.4.0.


This package is required by new versions of golang-github-go-openapi-*
packages.

Thanks,
Guillem

Back to linux.debian.bugs.dist | Previous | Next | Find similar


Thread

Bug#1137034: ITP: golang-github-go-openapi-testify -- zero-dependency assertions library Guillem Jover <gjover@sipwise.com> - 2026-05-18 23:10 +0200

csiph-web