Skip to content

test: execute documented quickstart SPL examples#77

Open
Chloride233 wants to merge 1 commit into
alibaba:mainfrom
Chloride233:test/docs-query-examples-check
Open

test: execute documented quickstart SPL examples#77
Chloride233 wants to merge 1 commit into
alibaba:mainfrom
Chloride233:test/docs-query-examples-check

Conversation

@Chloride233

Copy link
Copy Markdown

Summary

This adds a small CI check for the SPL examples published in the core docs.

The test loads the bundled quickstart sample into an in-memory app, extracts fenced umctl query run demo and umctl query explain demo commands from the English and Chinese docs plus the quickstart README files, and executes the extracted queries through Query Service.

This should catch docs drift when query syntax, quickstart data, or documented examples change. It does not change runtime behavior or any public API.

Validation

  • go test -v -run TestDocsQueryExamplesExecute ./tests/integration/
  • git diff --check

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.

1 participant