Skip to content

test: add executable qtest showcase corpus - #50

Merged
tiye merged 1 commit into
feat/program-fingerprintfrom
test/qtest-showcase-corpus
Aug 23, 2026
Merged

test: add executable qtest showcase corpus#50
tiye merged 1 commit into
feat/program-fingerprintfrom
test/qtest-showcase-corpus

Conversation

@tiye

@tiye tiye commented Aug 22, 2026

Copy link
Copy Markdown
Member

Summary

  • add RFC 0108 for the executable qtest showcase corpus
  • add qtest fixtures covering map spread/destructuring, Unicode indexing, comprehensions, and loop control
  • assert the directory runner executes every showcase fixture

Validation

  • cargo run --locked --quiet --bin qtest -- tests/scripts
  • make check
  • git diff --check

This PR is stacked on PR #49 and should remain unmerged with the existing chain.

Copilot AI lite review requested due to automatic review settings August 22, 2026 16:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an executable “showcase corpus” for qtest to serve as both regression coverage and minimal runnable documentation, and wires CI-facing tests/docs to treat these scripts as the canonical directory-run fixtures.

Changes:

  • Added new tests/scripts/*.qc fixtures covering map spread/destructuring, Unicode indexing, filtered comprehensions, and loop control.
  • Extended tests/cli_tools.rs to assert that directory-mode qtest tests/scripts executes all showcase fixtures.
  • Added RFC 0108 documenting the corpus contract and updated scope/docs to reference RFC 0108 as the latest.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/scripts/control-flow.qc Adds a loop-control (break/continue) showcase fixture.
tests/scripts/comprehension.qc Adds a filtered comprehension showcase fixture asserting stable order.
tests/scripts/collections.qc Adds a collections fixture for map spread/destructuring and Unicode indexing.
tests/cli_tools.rs Adds a directory-run assertion ensuring all showcase fixtures are executed.
RFCs/0108-qtest-showcase-corpus.md Documents the tests/scripts showcase corpus requirements and CI acceptance rule.
RFCs/0000-project-scope.md Updates the “latest RFC” reference to include RFC 0108.
README.md Updates the README’s RFC range reference to end at RFC 0108.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tests/cli_tools.rs
Base automatically changed from chore/qbench-release-gate to chore/package-verification-gate August 22, 2026 17:50
@tiye
tiye force-pushed the test/qtest-showcase-corpus branch from 802278c to 2f0e417 Compare August 22, 2026 18:08
@tiye
tiye force-pushed the chore/package-verification-gate branch from 8dbd3a4 to bfca7e6 Compare August 22, 2026 18:09
@tiye
tiye force-pushed the test/qtest-showcase-corpus branch from 2f0e417 to ee00101 Compare August 22, 2026 18:33
@tiye
tiye force-pushed the chore/package-verification-gate branch from bfca7e6 to 821f325 Compare August 22, 2026 18:33
@tiye
tiye force-pushed the test/qtest-showcase-corpus branch from ee00101 to 5a30282 Compare August 22, 2026 18:34
@tiye
tiye force-pushed the chore/package-verification-gate branch from 821f325 to 13f9f37 Compare August 22, 2026 18:46
@tiye
tiye force-pushed the test/qtest-showcase-corpus branch from 5a30282 to c083d85 Compare August 22, 2026 18:47
@tiye
tiye force-pushed the chore/package-verification-gate branch from 13f9f37 to 4acec4c Compare August 23, 2026 06:21
@tiye
tiye force-pushed the test/qtest-showcase-corpus branch from c083d85 to bc590b7 Compare August 23, 2026 06:22
Base automatically changed from chore/package-verification-gate to feat/program-fingerprint August 23, 2026 06:24
@tiye
tiye force-pushed the test/qtest-showcase-corpus branch from bc590b7 to 987a9e7 Compare August 23, 2026 06:26
@tiye
tiye force-pushed the test/qtest-showcase-corpus branch from 987a9e7 to f71eecc Compare August 23, 2026 06:27
@tiye
tiye merged commit b2dae29 into feat/program-fingerprint Aug 23, 2026
2 checks passed
@tiye
tiye deleted the test/qtest-showcase-corpus branch August 23, 2026 06:28
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.

2 participants