Dagger
Search

shellcheck/test

Package main provides test suites for the Shellcheck Dagger module.

Installation

dagger install github.com/softwaredevelop/daggerverse/shellcheck/test@efce5bec5854bf0560ae7ecb217436bbe766b817

Types

Shellchecktest 🔗

Shellchecktest provides test functions for the Shellcheck module.

all() 🔗

All runs all tests concurrently.

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

checkBashFiles() 🔗

CheckBashFiles tests that shellcheck properly discovers and checks .bash files.

Return Type
Void !
Example
Function Shellchecktest.checkBashFiles is not accessible from the shellcheck/test module
Function Shellchecktest.checkBashFiles is not accessible from the shellcheck/test module
Function Shellchecktest.checkBashFiles is not accessible from the shellcheck/test module
Function Shellchecktest.checkBashFiles is not accessible from the shellcheck/test module

checkDirectoryFailsOnInvalid() 🔗

CheckDirectoryFailsOnInvalid tests that shellcheck detects errors in standard .sh scripts.

Return Type
Void !
Example
Function Shellchecktest.checkDirectoryFailsOnInvalid is not accessible from the shellcheck/test module
Function Shellchecktest.checkDirectoryFailsOnInvalid is not accessible from the shellcheck/test module
Function Shellchecktest.checkDirectoryFailsOnInvalid is not accessible from the shellcheck/test module
Function Shellchecktest.checkDirectoryFailsOnInvalid is not accessible from the shellcheck/test module

checkWithConfigPasses() 🔗

CheckWithConfigPasses tests the dedicated CheckWithConfig function with –rcfile.

Return Type
Void !
Example
Function Shellchecktest.checkWithConfigPasses is not accessible from the shellcheck/test module
Function Shellchecktest.checkWithConfigPasses is not accessible from the shellcheck/test module
Function Shellchecktest.checkWithConfigPasses is not accessible from the shellcheck/test module
Function Shellchecktest.checkWithConfigPasses is not accessible from the shellcheck/test module

checkWithOptionalConfigPasses() 🔗

CheckWithOptionalConfigPasses tests that passing an optional config to Check disables warnings and passes.

Return Type
Void !
Example
Function Shellchecktest.checkWithOptionalConfigPasses is not accessible from the shellcheck/test module
Function Shellchecktest.checkWithOptionalConfigPasses is not accessible from the shellcheck/test module
Function Shellchecktest.checkWithOptionalConfigPasses is not accessible from the shellcheck/test module
Function Shellchecktest.checkWithOptionalConfigPasses is not accessible from the shellcheck/test module