Skip to content

Commit d43d8b5

Browse files
authored
Merge pull request #35 from fredbi/feat/generic-1
Feat/generic 1
2 parents ee9fa9d + e5c2a68 commit d43d8b5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+8512
-1340
lines changed

README.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Main features:
2525

2626
* zero external dependencies
2727
* opt-in dependencies for extra features (e.g. asserting YAML, colorized output)
28+
* assertions using generic types (see [a basic example][example-with-generics-url])
2829
* [searchable documentation][doc-url]
2930

3031
## Announcements
@@ -43,8 +44,15 @@ Design and exploration phase. Contributions and proposals are welcome.
4344

4445
> **Recent news**
4546
> Fully refactored how assertions are generated and documented.
47+
> Fixed hangs & panics when using `spew`. Fuzzed `spew`.
48+
> Fixed go routine leaks with `EventuallyWithT` and co.
49+
> Added `Kind` & `NotKind`
50+
> Fix deterministic order of keys in diff
51+
> Fixed edge cases with `InDelta`, `InEpsilon`
52+
> Added opt-in support for colorized output
53+
> Introduced generics (round 1): 16 new type-safe assertions with generic types (added benchmark)
4654
>
47-
> Now on our way to apply more fixes, features and adopt generics. See [ROADMAP][roadmap].
55+
> See our [ROADMAP][roadmap].
4856
4957
## Import this library in your project
5058

@@ -93,7 +101,7 @@ Becomes:
93101

94102
## Usage at go-openapi and go-swagger
95103

96-
This fork now full replaces the original project for all go-openapi projects,
104+
This fork now fully replaces the original project for all go-openapi projects,
97105
thus reducing their dependencies footprint.
98106

99107
Go-swagger will be adapted over Q1 2026.
@@ -161,6 +169,7 @@ Maintainers can cut a new release by either:
161169
<!-- Badges: documentation & support -->
162170
[doc-badge]: https://img.shields.io/badge/doc-site-blue?link=https%3A%2F%2Fgo-openapi.github.io%2Ftestify%2F
163171
[doc-url]: https://go-openapi.github.io/testify
172+
[example-with-generics-url]: https://go-openapi.github.io/testify#usage-with-generics
164173
[godoc-badge]: https://pkg.go.dev/badge/github.com/go-openapi/testify
165174
[godoc-url]: http://pkg.go.dev/github.com/go-openapi/testify
166175
[slack-logo]: https://a.slack-edge.com/e6a93c1/img/icons/favicon-32.png

0 commit comments

Comments
 (0)