Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 gorules

import (
"github.com/quasilyte/go-ruleguard/dsl"
testifyrules "github.com/tdakkota/testify-rules"
)

func init() {
// Imported rules will have a "" prefix.
dsl.ImportRules("", testifyrules.Bundle)
}
```