Skip to content

Test installed STLC++ editor behavior before releases - #12

Merged
superseacat merged 1 commit into
mainfrom
codex/stlcpp-editor-tests
Nov 12, 2026
Merged

superseacat merged 1 commit into
mainfrom
codex/stlcpp-editor-tests

Conversation

@superseacat

@superseacat superseacat commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

STLC++ releases had packaging and publishing checks but no tests of the installed extension inside VS Code. Add 20 editor tests that install the built VSIX in an isolated profile and exercise automatic activation, the bundled WASM parser, syntax highlighting, Unicode/CRLF positions, unsaved edits, incomplete and empty files, comment toggling, bracket matching, and automatic closing.

The tests exposed highlighting defects fixed here: missing syntax produced zero-length tokens, some reserved words and type arguments were colored incorrectly, multiline strings were skipped, and Windows line endings leaked into token lengths.

The build workflow tests the same VSIX on Linux, macOS, and Windows using pinned VS Code 1.130.0, plus the minimum supported 1.75.0 on Linux. The GitHub Release and both marketplace uploads now wait for every editor job to pass. Existing tag-only publishing and trusted-publisher configuration remain in place.

Validation:

  • npm test: 45 passed (22 release safeguards, 3 dependency/packaging checks, 20 editor tests).
  • Installed-VSIX editor suite on VS Code 1.75.0: 20 passed locally on macOS.
  • GitHub Actions: build and all four editor test configurations passed.
  • actionlint and git diff --check: passed.

Fixes aalto-opencs/opencs-platform#907

@superseacat
superseacat marked this pull request as ready for review November 12, 2026 12:21
@superseacat
superseacat merged commit 6902724 into main Nov 12, 2026
10 checks passed
@superseacat
superseacat deleted the codex/stlcpp-editor-tests branch November 12, 2026 12:22
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