Dagger
Search

revive/test

Package main provides test suites for the Revive Dagger module.

Installation

dagger install github.com/softwaredevelop/daggerverse/revive/test@221a79765062ffd442a430ece86f2797c616dea1

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