revive/test
Package main provides test suites for the Revive Dagger module.
Installation
dagger install github.com/softwaredevelop/daggerverse/revive/test@221a79765062ffd442a430ece86f2797c616dea1Types
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 moduleFunction Revivetest.all is not accessible from the revive/test moduleFunction Revivetest.all is not accessible from the revive/test moduleFunction Revivetest.all is not accessible from the revive/test modulecheckFailsByDefault() 🔗
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 moduleFunction Revivetest.checkFailsByDefault is not accessible from the revive/test moduleFunction Revivetest.checkFailsByDefault is not accessible from the revive/test moduleFunction Revivetest.checkFailsByDefault is not accessible from the revive/test modulecheckWithConfig() 🔗
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 moduleFunction Revivetest.checkWithConfig is not accessible from the revive/test moduleFunction Revivetest.checkWithConfig is not accessible from the revive/test moduleFunction Revivetest.checkWithConfig is not accessible from the revive/test module