- Testing only mature specs
- Testing specific specs, regardless of their maturity level
- Testing mature specs and additionally enabling specific specs
- Testing mature specs, while disabling specific specs
- Testing specific spec (trustless gateway), while disabling a sub-part of it
- Skip a specific test
- Extracting the test fixtures
- Extracting the test fixtures into a single CAR file
By default, all mature tests are run. Mature tests generally refer to specifications whose status is mature.
gateway-conformance test
gateway-conformance test --specs subdomain-gateway,path-gateway
gateway-conformance test --specs +subdomain-gateway
gateway-conformance test --specs -subdomain-gateway,-dnslink-gateway
gateway-conformance test --specs trustless-gateway,-trustless-gateway-ipns
Tests are skipped using Go's standard syntax:
gateway-conformance test -- -skip 'TestGatewayCar/GET_response_for_application/vnd.ipld.car/Header_Content-Length'
It supports regex, allowing for skipping specific group or individual test case:
gateway-conformance test -- -skip 'TestGatewayCar/*'
./gateway-conformance test --verbose -- -skip '.*/.*TODO.*'
Same syntax as for skipping:
gateway-conformance test -- -run 'TestGatewayCar/*'
./gateway-conformance test --verbose -- -run '.*/.*TODO.*'
gateway-conformance extract-fixtures
gateway-conformance extract-fixtures --merged true