Skip to content

SDKs

Running SDK Tests

Run testing, via any of these options, depends on the desired use case:

If you have multiple SDK targets the following will prompt you on which targets you would like to run tests for.

Terminal window
speakeasy test

This will run tests for all SDKs in the repo.

Terminal window
speakeasy test -t all
A screenshot of successful tests in the CLI.

For speakeasy run support, modify the Speakeasy workflow configuration (.speakeasy/workflow.yaml).

Enable running tests during Speakeasy workflows by adding to one or more of the targets in the targets section of the configuration.

targets:
example-target:
# ... other existing configuration ...
testing:
enabled: true

View test reports by navigating to the Tests tab under a particular SDK in the speakeasy dashboard.

app.speakeasy.com
Speakeasy dashboard test report.