search-cassette
Search cassette checks. Container images are built directly from Dockerfile.
Installation
dagger install github.com/papercomputeco/search-cassette@d923ce83eedb7c6956c56a9f93b6df47c89a4a3bEntrypoint
Return Type
SearchCassette !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| source | Directory | - | Project source directory. |
Example
dagger -m github.com/papercomputeco/search-cassette@d923ce83eedb7c6956c56a9f93b6df47c89a4a3b call \
func (m *MyModule) Example() *dagger.SearchCassette {
return dag.
Searchcassette()
}@function
def example() -> dagger.SearchCassette:
return (
dag.search_cassette()
)@func()
example(): SearchCassette {
return dag
.searchCassette()
}Types
SearchCassette 🔗
test() 🔗
Test runs the test suites with a just-in-time Postgres service exposed as TEST_POSTGRES_DSN, so the DB-backed specs run against the real engine instead of skipping.
Return Type
String ! Example
dagger -m github.com/papercomputeco/search-cassette@d923ce83eedb7c6956c56a9f93b6df47c89a4a3b call \
testfunc (m *MyModule) Example(ctx context.Context) string {
return dag.
Searchcassette().
Test(ctx)
}@function
async def example() -> str:
return await (
dag.search_cassette()
.test()
)@func()
async example(): Promise<string> {
return dag
.searchCassette()
.test()
}