Dagger
Search

tus-compliance

Tus Compliance Tests

Installation

dagger install github.com/sagikazarmark/tus-compliance-tests@737de0abc55b7d1c3f734ea67451e8395cff7f06

Entrypoint

Return Type
TusCompliance !
Arguments
NameTypeDefault ValueDescription
testsDirectory -No description provided
serversDirectory -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
NameTypeDefault ValueDescription
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 \
 run
func (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
NameTypeDefault ValueDescription
serviceService !-No description provided
extension[Enum ! ] -No description provided
disableCoreBoolean -No description provided
report[Enum ! ] -No description provided
Example
dagger -m github.com/sagikazarmark/tus-compliance-tests@737de0abc55b7d1c3f734ea67451e8395cff7f06 call \
 test --service PROTOCOL://HOST:PORT
func (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)
}