Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tdakkota/testify-rules
Ruleguard ruleset bundle for testify.
https://github.com/tdakkota/testify-rules
Last synced: 12 days ago
JSON representation
Ruleguard ruleset bundle for testify.
- Host: GitHub
- URL: https://github.com/tdakkota/testify-rules
- Owner: tdakkota
- License: bsd-3-clause
- Created: 2021-11-16T10:58:23.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2021-11-17T09:16:04.000Z (almost 3 years ago)
- Last Synced: 2024-10-18T21:17:02.266Z (20 days ago)
- Language: Go
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# testify-rules
[Ruleguard](https://github.com/quasilyte/go-ruleguard) ruleset bundle for [testify](https://github.com/stretchr/testify).
## Install
See [ruleguard documentation](https://github.com/quasilyte/go-ruleguard/blob/master/_docs/dsl.md#ruleguard-bundles).
```go
package gorulesimport (
"github.com/quasilyte/go-ruleguard/dsl"
testifyrules "github.com/tdakkota/testify-rules"
)func init() {
// Imported rules will have a "" prefix.
dsl.ImportRules("", testifyrules.Bundle)
}
```