Dagger
Search

tus-compliance

No long description provided.

Installation

dagger install github.com/sagikazarmark/tus-compliance-tests@0d7187dcfa5c340b4bcd2953a5b866599c68951c

Entrypoint

Return Type
TusCompliance !
Arguments
NameTypeDefault ValueDescription
testsDirectory -No description provided
serversDirectory -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
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@0d7187dcfa5c340b4bcd2953a5b866599c68951c 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 !-Service to run the test suite against
extension[Enum ! ] -Extensions to test.
disableCoreBoolean -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: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)
}