You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/doc-site/_index.md
+4-24Lines changed: 4 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,32 +20,11 @@ This is the go-openapi fork of the great [testify](https://github.com/stretchr/t
20
20
{{% button href="https://github.com/go-openapi/testify/fork" hint="fork me on github" style=primary icon=code-fork %}}Fork me{{% /button %}}
21
21
Design and exploration phase. Feedback, contributions and proposals are welcome.
22
22
23
-
### Motivation
24
-
25
-
From the maintainers of `testify`, it looks like a v2 will eventually be released, but they'll do it at their own pace.
26
-
27
-
We like all the principles they exposed to build this v2. [See discussion about v2](https://github.com/stretchr/testify/discussions/1560).
28
-
29
-
However, at `go-openapi` we would like to address the well-known issues in `testify` with different priorities.
30
-
31
-
With this fork, we want to:
32
-
1.[x] remove all external dependencies.
33
-
2.[x] make it easy to maintain and extend.
34
-
3.[x] pare down some of the chrome that has been added over the years.
From the maintainers of `testify`, it looks like a v2 will eventually be released, but they'll do it at their own pace.
8
+
9
+
We like all the principles they exposed to build this v2. [See discussion about v2](https://github.com/stretchr/testify/discussions/1560).
10
+
11
+
However, at `go-openapi` we would like to address the well-known issues in `testify` with different priorities.
12
+
13
+
With this fork, we want to:
14
+
15
+
1.[x] remove all external dependencies.
16
+
2.[x] make it easy to maintain and extend.
17
+
3.[x] pare down some of the chrome that has been added over the years.
> The generator scans source code, extracts metadata, builds a model, and applies templates to generate ~600+ functions, tests, and documentation from ~70-80+ source functions.
80
+
> The generator scans source code, extracts metadata, builds a model, and applies templates to generate ~800+ functions, tests, and documentation from ~100+ source functions.
81
81
82
82
---
83
83
@@ -158,7 +158,9 @@ graph TD
158
158
style require_group fill:#ffb6c1,color:#000
159
159
{{< /mermaid >}}
160
160
161
-
> **76 functions × 8 variants = 608 generated functions** (plus tests and documentation for each)
161
+
> **reflection-based assertions become 8, generic assertions become 4**
0 commit comments