tus-compliance
Tus Compliance Tests
Installation
dagger install github.com/sagikazarmark/tus-compliance-tests@737de0abc55b7d1c3f734ea67451e8395cff7f06Entrypoint
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@737de0abc55b7d1c3f734ea67451e8395cff7f06 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@737de0abc55b7d1c3f734ea67451e8395cff7f06 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 ! | - | No description provided |
| extension | [Enum ! ] | - | No description provided |
| disableCore | Boolean | - | No description provided |
| report | [Enum ! ] | - | No description provided |
Example
dagger -m github.com/sagikazarmark/tus-compliance-tests@737de0abc55b7d1c3f734ea67451e8395cff7f06 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)
}