tests
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/postgres/tests@130dd4d7bff8d77ec7d4e62c3f96be8c33d67c8b
Entrypoint
Return Type
Tests
Example
dagger -m github.com/sagikazarmark/daggerverse/postgres/tests@130dd4d7bff8d77ec7d4e62c3f96be8c33d67c8b 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/postgres/tests@130dd4d7bff8d77ec7d4e62c3f96be8c33d67c8b 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()
}
basic() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/postgres/tests@130dd4d7bff8d77ec7d4e62c3f96be8c33d67c8b call \
basic
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Basic(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.basic()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.basic()
}
withDatabase() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/postgres/tests@130dd4d7bff8d77ec7d4e62c3f96be8c33d67c8b call \
with-database
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithDatabase(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_database()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withDatabase()
}