tests
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/postgres/tests@7ec5b1ab626c301319f6ea4021d387f39b9db702
Entrypoint
Return Type
Tests
Example
dagger -m github.com/sagikazarmark/daggerverse/postgres/tests@7ec5b1ab626c301319f6ea4021d387f39b9db702 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@7ec5b1ab626c301319f6ea4021d387f39b9db702 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@7ec5b1ab626c301319f6ea4021d387f39b9db702 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@7ec5b1ab626c301319f6ea4021d387f39b9db702 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()
}