Speakeasy Logo
Skip to Content

Product Updates

Test Suite Generation Early Access

Nolan Sullivan

Nolan Sullivan

August 7, 2024 - 2 min read

Product Updates

If at first you don’t succeed test, test, test again.

We’re excited to announce the early access release of our new Test Generation feature. It empowers developer teams to ship SDKs with confidence that they work as intended for end users.

Test Generation

What’s Included

  • Support for TypeScript, Python, and Go,
  • Test creation based on the examples in your OpenAPI spec,
  • The ability to specify custom requests and responses for your tests.

How It Works

  1. Specify the examples you want to use in your OpenAPI spec.
  2. Optionally specify custom examples via a tests.yaml.
  3. Speakeasy generates tests for your SDKs based on the examples you provided.

The generated tests will be created in a new tests directory in your SDK. For each language, we’ve selected a popular testing framework for the generated tests:


🐝 New Features and Bug Fixes 🐛

TypeScript

🐝 Feat: Readme’s render with environment variable usage
🐛 Fix: Updated .gitignore rules for TS SDKs

Python

🐝 Feat: Readme’s render with environment variable usage
🐝 Feat: Added Python debug logger interface
🐛 Fix: Buffering of streaming responses and TypedDict unmarshalling in pythonv2
🐛 Fix: Handle consts in non-json

Go

🐝 Feat: Readme’s render with environment variable usage

Terraform

🐛 Fix: Dependencies upgraded
🐛 Fix: Prevent creating attribute validators for invalid or RE2 engine incompatible OAS pattern
🐛 Fix: Support for flattened security env vars

Java

🐝 Feat: Support for discriminated oneOf

C#

🐝 Feat: Implemented support for x-speakeasy-enums

Last updated on

Organize your
dev universe,

faster and easier.

Try Speakeasy Now