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