-
Running `testifylint` on a large codebase at work I noticed that suits are not consistently named. It would be useful if `testifylint` detected this and enforced usage of either `(suite *TestSuite)` o…
-
go-difflib go package is no longer maintained, it has reached EOL.
https://github.com/pmezard/go-difflib
Still in grafana go-difflib package is used. Is there any plan to replace go-difflib packag…
-
When running tests against alternate configurations, properties files need to be updated accordingly so that a test can be run. Having a method that allowed for properties overrides from the command l…
-
Hi, I saw the recent [gomock discussion](https://github.com/corbym/gocrest/issues/4) and would love documentation on how to Implement Testify's custom matchers via [mock.MatchedBy](https://godoc.org/g…
-
When using this gem of a library I realized that the `assert` and `require` package seem to be missing a convenience function for `NotErrorAs(...)`.
`{assert|require}.NotErrorIs(...)` does exist so…
ndzik updated
3 years ago
-
Running suite.Run() when test cases have called `suite.T().Parallel()` triggers a data race warning when using `go test -race`.
==> go.mod main.go main_test.go
-
This package looks awesome, but i would have expected these tests to fail:
```golang
package frontpage_test
import (
"context"
"testing"
"github.com/go-redis/redismock/v8"
. "github.…
-
### Proposal Details
**Motivation**
With popular testing frameworks like [`github.com/stretchr/testify/require`](https://github.com/stretchr/testify/require) there is a pattern to add assertion fu…
-
## Description
If you remove a call from a mock with Unset, then NotBefore still expects it.
## Step To Reproduce
```go
package kata_test
import (
"testing"
"github.com/stretchr/t…
-
for a go application with go version 1.19 this suggestion was done by deptree:
`github.com/stretchr/testify@v1.8.2 (go1.13) => [v1.8.3]`
testify 1.8.2 is a [go 1.13 module](https://github.com/stre…