Skip to content

Add deleteTestCase and deleteTestSuite XML-RPC endpoints#4

Merged
dogkeeper886 merged 1 commit intotestlink_1_9_20_fixedfrom
issue-1-delete-api
Apr 9, 2026
Merged

Add deleteTestCase and deleteTestSuite XML-RPC endpoints#4
dogkeeper886 merged 1 commit intotestlink_1_9_20_fixedfrom
issue-1-delete-api

Conversation

@dogkeeper886
Copy link
Copy Markdown
Owner

Summary

  • Add tl.deleteTestCase endpoint — accepts testcaseid or testcaseexternalid
  • Add tl.deleteTestSuite endpoint — accepts testsuiteid, deletes suite and all contents
  • Both use mgt_modify_tc permission check, consistent with existing modify operations
  • E2E test updated to exercise both delete endpoints after CRUD creation

Closes #1

Test plan

  • tl.deleteTestCase with external ID returns success
  • tl.deleteTestSuite with suite ID returns success (deep delete)
  • All 5 CI tests pass locally (build, integration, e2e)
  • CI pipeline passes on GitHub Actions (pending runner setup)

🤖 Generated with Claude Code

Enable programmatic deletion of test cases and test suites via the
XML-RPC API, closing a gap that forced MCP tools to fake deletion
by marking items as obsolete.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@dogkeeper886
Copy link
Copy Markdown
Owner Author

Self-review complete. Checklist passes. Ready to merge.

@dogkeeper886 dogkeeper886 merged commit 9f31922 into testlink_1_9_20_fixed Apr 9, 2026
2 of 3 checks passed
@dogkeeper886 dogkeeper886 deleted the issue-1-delete-api branch April 9, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] Add deleteTestCase and deleteTestSuite to XML-RPC API

1 participant