Dagger
Search

bats

No long description provided.

Installation

dagger install github.com/sagikazarmark/daggerverse/bats@493a0d97d9468d8dee23dec1f805268e940c386d

Entrypoint

Return Type
Bats
Example
func (m *myModule) example() *Bats  {
	return dag.
			Bats()
}
@function
def example() -> dag.Bats:
	return (
		dag.bats()
	)
@func()
example(): Bats {
	return dag
		.bats()
}

Types

Bats 🔗

container() 🔗

Return Type
Container !
Example
Function Bats.container is not accessible from the bats module
func (m *myModule) example()   {
	return dag.
			Bats().
			Container()
}
@function
def example() -> :
	return (
		dag.bats()
		.container()
	)
@func()
example():  {
	return dag
		.bats()
		.container()
}

withSource() 🔗

Mount a source directory.

Return Type
WithSource !
Arguments
NameTypeDefault ValueDescription
sourceDirectory !-No description provided
Example
Function Bats.withSource is not accessible from the bats module
func (m *myModule) example(source )   {
	return dag.
			Bats().
			WithSource(source)
}
@function
def example(source: ) -> :
	return (
		dag.bats()
		.with_source(source)
	)
@func()
example(source: ):  {
	return dag
		.bats()
		.withSource(source)
}

run() 🔗

Run bats tests.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[StringKind ! ] !-No description provided
sourceDirectory -No description provided
Example
Function Bats.run is not accessible from the bats module
func (m *myModule) example(args )   {
	return dag.
			Bats().
			Run(args)
}
@function
def example(args: ) -> :
	return (
		dag.bats()
		.run(args)
	)
@func()
example(args: ):  {
	return dag
		.bats()
		.run(args)
}

WithSource 🔗

container() 🔗

Return Type
Container !
Example
Function BatsWithSource.container is not accessible from the bats module
Function BatsWithSource.container is not accessible from the bats module
Function BatsWithSource.container is not accessible from the bats module
Function BatsWithSource.container is not accessible from the bats module

run() 🔗

Run bats tests.

Return Type
Container !
Arguments
NameTypeDefault ValueDescription
args[StringKind ! ] !-No description provided
Example
Function BatsWithSource.run is not accessible from the bats module
Function BatsWithSource.run is not accessible from the bats module
Function BatsWithSource.run is not accessible from the bats module
Function BatsWithSource.run is not accessible from the bats module