bats
No long description provided.
Installation
dagger install github.com/sagikazarmark/daggerverse/bats@71d46691258f1b807806068680a596603294fa44
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
Name | Type | Default Value | Description |
---|---|---|---|
source | Directory ! | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
args | [StringKind ! ] ! | - | No description provided |
source | Directory | - | 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
Name | Type | Default Value | Description |
---|---|---|---|
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