Dagger
Search

revive/test

Package main provides test suites for the Revive Dagger module.

Installation

dagger install github.com/softwaredevelop/daggerverse/revive/test@3edb91e6d550ead4410708fa939514474a5dfad5

Types

Revivetest 🔗

Revivetest provides test functions for the Revive module.

all() 🔗

All runs all tests concurrently.

Return Type
Void !
Example
Function Revivetest.all is not accessible from the revive/test module
Function Revivetest.all is not accessible from the revive/test module
Function Revivetest.all is not accessible from the revive/test module
Function Revivetest.all is not accessible from the revive/test module

checkFailsByDefault() 🔗

CheckFailsByDefault asserts that Revive fails on invalid code when using default rules.

Return Type
Void !
Example
Function Revivetest.checkFailsByDefault is not accessible from the revive/test module
Function Revivetest.checkFailsByDefault is not accessible from the revive/test module
Function Revivetest.checkFailsByDefault is not accessible from the revive/test module
Function Revivetest.checkFailsByDefault is not accessible from the revive/test module

checkWithConfig() 🔗

CheckWithConfig asserts that providing a custom revive.toml overrides rules and passes.

Return Type
Void !
Example
Function Revivetest.checkWithConfig is not accessible from the revive/test module
Function Revivetest.checkWithConfig is not accessible from the revive/test module
Function Revivetest.checkWithConfig is not accessible from the revive/test module
Function Revivetest.checkWithConfig is not accessible from the revive/test module