@cellas/testing-adapters
v1.1.0
Published
Conformance Test Platform adapters boundary (v1.5)
Readme
@cellas/testing-adapters
Adapter protocol helpers and target descriptor validation for the Conformance Test Platform.
Exports
validateTargetDescriptor,validateFullStackTargetDescriptorExchangeObjectStore,buildExchangeReference,parseExchangeReference- Adapter request/response line serialization and retry classification
Usage
import {
validateTargetDescriptor,
buildExchangeReference,
} from "@cellas/testing-adapters";
const result = validateTargetDescriptor(targetJson);
if (!result.valid) {
console.error(result.errors);
}
const ref = buildExchangeReference("run-001", digestValue);Target fixtures
Valid and invalid descriptors live under conformance/fixtures/. Use
conformance/fixtures/valid/target.json for local cellas test runs.
Protocol
Adapter operations follow ADAPTER_PROTOCOL and ADAPTER_OPERATIONS from
@cellas/testing-contracts. Non-retryable operations fail fast;
handshake and inspect may auto-retry transport errors.
