tests
No long description provided.
Installation
dagger install github.com/purpleclay/daggerverse/shellcheck/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6Entrypoint
Return Type
Tests Example
dagger -m github.com/purpleclay/daggerverse/shellcheck/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
func (m *MyModule) Example() *dagger.Tests {
return dag.
Tests()
}@function
def example() -> dagger.Tests:
return (
dag.tests()
)@func()
example(): Tests {
return dag
.tests()
}Types
Tests 🔗
allTests() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/shellcheck/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
all-testsfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
AllTests(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.all_tests()
)@func()
async example(): Promise<void> {
return dag
.tests()
.allTests()
}checkValidFile() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/shellcheck/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
check-valid-filefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
CheckValidFile(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.check_valid_file()
)@func()
async example(): Promise<void> {
return dag
.tests()
.checkValidFile()
}checkInvalidFile() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/shellcheck/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
check-invalid-filefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
CheckInvalidFile(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.check_invalid_file()
)@func()
async example(): Promise<void> {
return dag
.tests()
.checkInvalidFile()
}checkInvalidFileWithInclude() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/shellcheck/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
check-invalid-file-with-includefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
CheckInvalidFileWithInclude(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.check_invalid_file_with_include()
)@func()
async example(): Promise<void> {
return dag
.tests()
.checkInvalidFileWithInclude()
}checkInvalidFileWithExclude() 🔗
Return Type
Void ! Example
dagger -m github.com/purpleclay/daggerverse/shellcheck/tests@e611b45544e8819ef6c0f8367a6bfeed648c50d6 call \
check-invalid-file-with-excludefunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
CheckInvalidFileWithExclude(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.check_invalid_file_with_exclude()
)@func()
async example(): Promise<void> {
return dag
.tests()
.checkInvalidFileWithExclude()
}