-
Notifications
You must be signed in to change notification settings - Fork 242
Open
Description
Which Fern component?
SDK Generator
How important is this?
P1 - High (Strongly needed)
What's the feature?
Description
This is a parent issue tracking critical gaps in snapshot testing coverage for the Rust SDK generator. The current test suite heavily focuses on error generation (9 snapshots) but lacks comprehensive coverage for core client generation functionality, which is the primary feature of the SDK generator.
Core Client Generation Tests
- Root Client Generation Snapshot Tests
- Sub-Client Generation Snapshot Tests
- HTTP Method Generation Snapshot Tests
Authentication & Configuration Tests
- Authentication Header Generation Snapshot Tests
- Client Configuration Validation Snapshot Tests
Type System Tests
- Type Reference Mapping Snapshot Tests
- Parameter Handling Snapshot Tests
Test Commands
To run existing tests:
cd generators/rust/sdk
pnpm test
To add new snapshot tests:
cd generators/rust/sdk
pnpm test -- --update-snapshots
Expected Outcome
Comprehensive snapshot test coverage for all core Rust SDK generator functionality, ensuring regression protection for client generation, authentication, and type handling logic.
Any alternatives?
No response
Are you interested in contributing this feature?
Yes
Metadata
Metadata
Assignees
Labels
No labels