tests
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d
Entrypoint
Return Type
Tests
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
func (m *myModule) example() *Tests {
return dag.
Tests()
}
@function
def example() -> dag.Tests:
return (
dag.tests()
)
@func()
example(): Tests {
return dag
.tests()
}
Types
Tests 🔗
all() 🔗
All executes all tests.
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
all
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
All(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.all()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.all()
}
test() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
test
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Test(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.test()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.test()
}
version() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
version
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Version(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.version()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.version()
}
withVersion() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
with-version
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithVersion(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_version()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withVersion()
}
withModule() 🔗
Return Type
WithModule !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
with-module
func (m *myModule) example() *TestsWithModule {
return dag.
Tests().
WithModule()
}
@function
def example() -> dag.TestsWithModule:
return (
dag.tests()
.with_module()
)
@func()
example(): TestsWithModule {
return dag
.tests()
.withModule()
}
WithModule 🔗
all() 🔗
All executes all tests.
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
with-module \
all
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithModule().
All(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_module()
.all()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withModule()
.all()
}
module() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
with-module \
module
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithModule().
Module(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_module()
.module()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withModule()
.module()
}
version() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
with-module \
version
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithModule().
Version(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_module()
.version()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withModule()
.version()
}
replacement() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/xcaddy/tests@e1b52c0ea62aa08a5c080c02ec537bbd2da9c33d call \
with-module \
replacement
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithModule().
Replacement(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_module()
.replacement()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withModule()
.replacement()
}