feat: add core and extensions suites for SDK tiering (#117)
* feat: add core and extensions suites for SDK tiering Add new suites to support SDK tiering requirements: Client suites: - core (19 scenarios): Tier 1 requirements (base + auth) - extensions (2 scenarios): Optional protocol extensions (client credentials) - all (21 scenarios): Everything (core + extensions) - auth (15 scenarios): Auth scenarios only (excludes extensions) Server suites: - core: Alias for 'active' (tier 1 requirements) This allows SDK developers to run --suite core for tier 1 certification while keeping extension tests available but not blocking. * feat: promote elicitation tests from pending to active Move 3 elicitation scenarios to active suite: - elicitation-sep1330-enums - tools-call-elicitation - elicitation-sep1034-defaults These tests are now passing in the Python SDK and ready for SDK tiering requirements. Remaining pending tests (2): - json-schema-2020-12 (blocked on SDK PR #1135) - server-sse-polling (blocked on SDK PR #1129)
This commit is contained in:
parent
d0b2b4914d
commit
5dca74be9a
1 changed files with 37 additions and 15 deletions
15
src/index.ts
15
src/index.ts
|
|
@ -16,7 +16,9 @@ import {
|
|||
listActiveClientScenarios,
|
||||
listPendingClientScenarios,
|
||||
listAuthScenarios,
|
||||
listMetadataScenarios
|
||||
listMetadataScenarios,
|
||||
listCoreScenarios,
|
||||
listExtensionScenarios
|
||||
} from './scenarios';
|
||||
import { ConformanceCheck } from './types';
|
||||
import { ClientOptionsSchema, ServerOptionsSchema } from './schemas';
|
||||
|
|
@ -65,6 +67,8 @@ program
|
|||
|
||||
const suites: Record<string, () => string[]> = {
|
||||
all: listScenarios,
|
||||
core: listCoreScenarios,
|
||||
extensions: listExtensionScenarios,
|
||||
auth: listAuthScenarios,
|
||||
metadata: listMetadataScenarios,
|
||||
'sep-835': () =>
|
||||
|
|
@ -177,7 +181,9 @@ program
|
|||
console.error('Either --scenario or --suite is required');
|
||||
console.error('\nAvailable client scenarios:');
|
||||
listScenarios().forEach((s) => console.error(` - ${s}`));
|
||||
console.error('\nAvailable suites: all, auth, metadata, sep-835');
|
||||
console.error(
|
||||
'\nAvailable suites: all, core, extensions, auth, metadata, sep-835'
|
||||
);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
|
@ -296,13 +302,14 @@ program
|
|||
|
||||
if (suite === 'all') {
|
||||
scenarios = listClientScenarios();
|
||||
} else if (suite === 'active') {
|
||||
} else if (suite === 'active' || suite === 'core') {
|
||||
// 'core' is an alias for 'active' - tier 1 requirements
|
||||
scenarios = listActiveClientScenarios();
|
||||
} else if (suite === 'pending') {
|
||||
scenarios = listPendingClientScenarios();
|
||||
} else {
|
||||
console.error(`Unknown suite: ${suite}`);
|
||||
console.error('Available suites: active, all, pending');
|
||||
console.error('Available suites: active, all, core, pending');
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue