tus-compliance
No long description provided.
Installation
dagger install github.com/sagikazarmark/tus-compliance-tests@0d7187dcfa5c340b4bcd2953a5b866599c68951cEntrypoint
Return Type
TusCompliance !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| tests | Directory | - | No description provided |
| servers | Directory | - | No description provided |
Example
dagger -m github.com/sagikazarmark/tus-compliance-tests@0d7187dcfa5c340b4bcd2953a5b866599c68951c call \
func (m *MyModule) Example() *dagger.TusCompliance {
return dag.
TusCompliance()
}@function
def example() -> dagger.TusCompliance:
return (
dag.tus_compliance()
)@func()
example(): TusCompliance {
return dag
.tusCompliance()
}Types
TusCompliance 🔗
run() 🔗
Run the test suite against the specified servers
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| server | [Enum ! ] | - | Servers to run the test suite against. |
| report | [Enum ! ] | - | Choose the format of the test results report |
Example
dagger -m github.com/sagikazarmark/tus-compliance-tests@0d7187dcfa5c340b4bcd2953a5b866599c68951c call \
runfunc (m *MyModule) Example() *dagger.Directory {
return dag.
TusCompliance().
Run()
}@function
def example() -> dagger.Directory:
return (
dag.tus_compliance()
.run()
)@func()
example(): Directory {
return dag
.tusCompliance()
.run()
}test() 🔗
Run the test suite against a single server.
Return Type
Directory !Arguments
| Name | Type | Default Value | Description |
|---|---|---|---|
| service | Service ! | - | Service to run the test suite against |
| extension | [Enum ! ] | - | Extensions to test. |
| disableCore | Boolean | - | Disable core tests |
| report | [Enum ! ] | - | Format of the test results report |
Example
dagger -m github.com/sagikazarmark/tus-compliance-tests@0d7187dcfa5c340b4bcd2953a5b866599c68951c call \
test --service PROTOCOL://HOST:PORTfunc (m *MyModule) Example(service *dagger.Service) *dagger.Directory {
return dag.
TusCompliance().
Test(service)
}@function
def example(service: dagger.Service) -> dagger.Directory:
return (
dag.tus_compliance()
.test(service)
)@func()
example(service: Service): Directory {
return dag
.tusCompliance()
.test(service)
}