Skip to main content

Crate cloud_sdk_testkit

Crate cloud_sdk_testkit 

Source
Expand description

provider-neutral testkit boundary for cloud-sdk.
Provider crates, explicit API domains, security-first release gates, and transport-free core types.


cloud-sdk Rust crate overview

§cloud-sdk-testkit

Provider-neutral testkit boundary for the main cloud-sdk workspace and cloud-sdk crate.

This crate is reserved for deterministic mock transports, source-locked protocol fixtures, fault injection, and adversarial response cases reusable by every provider. It intentionally stays small until provider-neutral transport and response contracts are implemented.

Most users should start with:

[dependencies]
cloud-sdk = "0.12.0"

Use this crate for tests once fixture helpers are admitted.

§Current Example

use cloud_sdk_testkit::FixtureKind;

let fixture = FixtureKind::Pagination;
assert_eq!(fixture, FixtureKind::Pagination);

§Planned Fixture Areas

  • Pagination responses.
  • Action polling responses.
  • Error envelopes.
  • Rate-limit metadata.
  • Malformed and oversized API responses.
  • Deprecated endpoint behavior.

Provider-specific fixtures remain in their provider crates and compose these generic primitives. This crate must not depend on provider crates or collect a feature for every provider.

Enums§

FixtureKind
Provider-neutral fixture category planned for the testkit.