tests
No long description provided.
Installation
dagger install github.com/z5labs/devex/daggerverse/random/tests@a17bf411228ae3d544c7c18bcf08dd04c295d453Entrypoint
Return Type
Tests Example
dagger -m github.com/z5labs/devex/daggerverse/random/tests@a17bf411228ae3d544c7c18bcf08dd04c295d453 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 🔗
all() 🔗
All runs every random test inside this suite.
parallel caps how many tests run concurrently. Defaults to 0 (unbounded
fan-out) — each dagger check job runs on its own GH Actions runner, so
in-runner parallelism is bounded by the VM’s CPU/memory, not by the
scheduler. Pass any positive integer to opt into a specific cap.
Return Type
Void !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| parallel | Integer ! | 0 | No description provided |
Example
dagger -m github.com/z5labs/devex/daggerverse/random/tests@a17bf411228ae3d544c7c18bcf08dd04c295d453 call \
all --parallel integerfunc (m *MyModule) Example(ctx context.Context, parallel int) {
return dag.
Tests().
All(ctx, parallel)
}@function
async def example(parallel: int) -> None:
return await (
dag.tests()
.all(parallel)
)@func()
async example(parallel: number): Promise<void> {
return dag
.tests()
.all(parallel)
}serialShouldNotBeCached() 🔗
Return Type
Void ! Example
dagger -m github.com/z5labs/devex/daggerverse/random/tests@a17bf411228ae3d544c7c18bcf08dd04c295d453 call \
serial-should-not-be-cachedfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Serialshouldnotbecached(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.serialshouldnotbecached()
)@func()
async example(): Promise<void> {
return dag
.tests()
.serialShouldNotBeCached()
}sha256ShouldNotBeCached() 🔗
Return Type
Void ! Example
dagger -m github.com/z5labs/devex/daggerverse/random/tests@a17bf411228ae3d544c7c18bcf08dd04c295d453 call \
sha-2-5-6-should-not-be-cachedfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Sha256shouldnotbecached(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.sha256shouldnotbecached()
)@func()
async example(): Promise<void> {
return dag
.tests()
.sha256ShouldNotBeCached()
}sha512ShouldNotBeCached() 🔗
Return Type
Void ! Example
dagger -m github.com/z5labs/devex/daggerverse/random/tests@a17bf411228ae3d544c7c18bcf08dd04c295d453 call \
sha-5-1-2-should-not-be-cachedfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Sha512shouldnotbecached(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.sha512shouldnotbecached()
)@func()
async example(): Promise<void> {
return dag
.tests()
.sha512ShouldNotBeCached()
}uuidV4ShouldNotBeCached() 🔗
Return Type
Void ! Example
dagger -m github.com/z5labs/devex/daggerverse/random/tests@a17bf411228ae3d544c7c18bcf08dd04c295d453 call \
uuid-v-4-should-not-be-cachedfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Uuidv4shouldnotbecached(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.uuidv4shouldnotbecached()
)@func()
async example(): Promise<void> {
return dag
.tests()
.uuidV4ShouldNotBeCached()
}uuidV7ShouldNotBeCached() 🔗
Return Type
Void ! Example
dagger -m github.com/z5labs/devex/daggerverse/random/tests@a17bf411228ae3d544c7c18bcf08dd04c295d453 call \
uuid-v-7-should-not-be-cachedfunc (m *MyModule) Example(ctx context.Context) {
return dag.
Tests().
Uuidv7shouldnotbecached(ctx)
}@function
async def example() -> None:
return await (
dag.tests()
.uuidv7shouldnotbecached()
)@func()
async example(): Promise<void> {
return dag
.tests()
.uuidV7ShouldNotBeCached()
}