test: add executable qtest showcase corpus - #50
Merged
Conversation
There was a problem hiding this comment.
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/*.qcfixtures covering map spread/destructuring, Unicode indexing, filtered comprehensions, and loop control. - Extended
tests/cli_tools.rsto assert that directory-modeqtest tests/scriptsexecutes 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.
Base automatically changed from
chore/qbench-release-gate
to
chore/package-verification-gate
August 22, 2026 17:50
tiye
force-pushed
the
test/qtest-showcase-corpus
branch
from
August 22, 2026 18:08
802278c to
2f0e417
Compare
tiye
force-pushed
the
chore/package-verification-gate
branch
from
August 22, 2026 18:09
8dbd3a4 to
bfca7e6
Compare
tiye
force-pushed
the
test/qtest-showcase-corpus
branch
from
August 22, 2026 18:33
2f0e417 to
ee00101
Compare
tiye
force-pushed
the
chore/package-verification-gate
branch
from
August 22, 2026 18:33
bfca7e6 to
821f325
Compare
tiye
force-pushed
the
test/qtest-showcase-corpus
branch
from
August 22, 2026 18:34
ee00101 to
5a30282
Compare
tiye
force-pushed
the
chore/package-verification-gate
branch
from
August 22, 2026 18:46
821f325 to
13f9f37
Compare
tiye
force-pushed
the
test/qtest-showcase-corpus
branch
from
August 22, 2026 18:47
5a30282 to
c083d85
Compare
tiye
force-pushed
the
chore/package-verification-gate
branch
from
August 23, 2026 06:21
13f9f37 to
4acec4c
Compare
tiye
force-pushed
the
test/qtest-showcase-corpus
branch
from
August 23, 2026 06:22
c083d85 to
bc590b7
Compare
Base automatically changed from
chore/package-verification-gate
to
feat/program-fingerprint
August 23, 2026 06:24
tiye
force-pushed
the
test/qtest-showcase-corpus
branch
from
August 23, 2026 06:26
bc590b7 to
987a9e7
Compare
tiye
force-pushed
the
test/qtest-showcase-corpus
branch
from
August 23, 2026 06:27
987a9e7 to
f71eecc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
cargo run --locked --quiet --bin qtest -- tests/scriptsmake checkgit diff --checkThis PR is stacked on PR #49 and should remain unmerged with the existing chain.