tests
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472
Entrypoint
Return Type
Tests
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 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 🔗
tape() 🔗
Tape tests
Return Type
Tape !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape
func (m *myModule) example() *TestsTape {
return dag.
Tests().
Tape()
}
@function
def example() -> dag.TestsTape:
return (
dag.tests()
.tape()
)
@func()
example(): TestsTape {
return dag
.tests()
.tape()
}
all() 🔗
All executes all tests.
Return Type
Void !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
withoutTape | Boolean | false | Do not run tape tests (sometimes they are slow) |
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 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()
}
render() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
render
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Render(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.render()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.render()
}
renderAdvanced() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
render-advanced
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
RenderAdvanced(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.render_advanced()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.renderAdvanced()
}
withSourceRender() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
with-source-render
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithSourceRender(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_source_render()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withSourceRender()
}
withSourceRenderAdvanced() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
with-source-render-advanced
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
WithSourceRenderAdvanced(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.with_source_render_advanced()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.withSourceRenderAdvanced()
}
Tape 🔗
all() 🔗
All executes all tests.
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
all
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
All(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.all()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.all()
}
output() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
output
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Output(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.output()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.output()
}
require() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
require
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Require(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.require()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.require()
}
set() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Set(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.set()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.set()
}
setBlock() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
set-block
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
SetBlock(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.set_block()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.setBlock()
}
type() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
type
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Type(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.type()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.type()
}
keys() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
keys
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Keys(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.keys()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.keys()
}
wait() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
wait
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Wait(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.wait()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.wait()
}
sleep() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
sleep
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Sleep(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.sleep()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.sleep()
}
showHide() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
show-hide
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
ShowHide(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.show_hide()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.showHide()
}
screenshot() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
screenshot
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Screenshot(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.screenshot()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.screenshot()
}
copyPaste() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
copy-paste
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
CopyPaste(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.copy_paste()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.copyPaste()
}
env() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
env
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Env(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.env()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.env()
}
source() 🔗
Return Type
Void !
Example
dagger -m github.com/sagikazarmark/daggerverse/vhs/tests@322b00485bc195163df4b81f22e52c5b2ca43472 call \
tape \
source
func (m *myModule) example(ctx context.Context) {
return dag.
Tests().
Tape().
Source(ctx)
}
@function
async def example() -> None:
return await (
dag.tests()
.tape()
.source()
)
@func()
async example(): Promise<void> {
return dag
.tests()
.tape()
.source()
}