Skip to content

test(mcp): Phase 2 — expand stdio fixture assertions#361

Merged
erishforG merged 1 commit into
release/1.0from
feat/auto-mcp-fixtures-phase2
Jun 18, 2026
Merged

test(mcp): Phase 2 — expand stdio fixture assertions#361
erishforG merged 1 commit into
release/1.0from
feat/auto-mcp-fixtures-phase2

Conversation

@erishforG

Copy link
Copy Markdown
Owner

무엇

@erishforG MCP stdio recording fixture runner에 deterministic string assertion을 추가하고, tools/call invalid params fixture coverage를 확장했습니다.

Refs #295. Claude Desktop / Cursor recording fixtures가 happy path뿐 아니라 MCP error-path contract도 기록하고 회귀 검증할 수 있어야 합니다.

변경

  • contains_text fixture assertion 지원 추가
  • unwired tools/call error envelope에 tool name substring 검증 추가
  • missing params.name, non-object arguments invalid params fixtures 추가
  • tests/mcp README assertion key 문서 업데이트

다음 Phase 힌트

  • 실제 client capture를 fixture로 변환하는 작은 helper script 또는 fixture metadata versioning 추가

리스크

  • Low. test-only assertion helper와 MCP fixture 문서/데이터 변경입니다.

롤백

  • 이 PR revert 시 fixture runner는 기존 assertion set으로 돌아갑니다.

Test plan

  • cargo build --quiet
  • cargo fmt --check
  • cargo clippy --all-targets -- -D warnings
  • cargo test --quiet

Refs #295

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@erishforG erishforG added the auto-improvement Daily auto-generated improvement PR/issue label Jun 18, 2026
@erishforG erishforG merged commit 7831039 into release/1.0 Jun 18, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-improvement Daily auto-generated improvement PR/issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant