Skip to content

Run testXtc for the VS Code extension's Test task - #772

Merged
lagergren merged 1 commit into
masterfrom
lagergren/vscode-test-task-runs-testxtc
Nov 16, 2026
Merged

lagergren merged 1 commit into
masterfrom
lagergren/vscode-test-task-runs-testxtc

Conversation

@lagergren

Copy link
Copy Markdown
Contributor

The VS Code extension's Test task, which it offers for every workspace folder with a build.gradle.kts, ran ./gradlew test. That's Java's test task, which runs no XTC tests, so the Test task has never run any since the extension came in with #445.

On master:

Command Outcome
./gradlew :xdk:lib-json:test test NO-SOURCE: nothing runs
./gradlew :xdk:lib-json:testXtc runs the library's XTC tests

The Test task now runs testXtc, and the extension's README table of tasks says so.

Validation: the extension compiles (tsc) and lints clean (eslint). No test covers the task provider's commands; CI runs the headless VS Code suite.

Note: the same line exists twice on errs/full-testable-lsp-20261009 (#693), which reworked this file; it will be resolved when that branch is rebased.

The Test task that the extension offers for a Gradle build ran
`./gradlew test`, which is Java's test task: in an XTC project it runs no
XTC tests. On master, `./gradlew :xdk:lib-json:test` ends with
`test NO-SOURCE`, while `./gradlew :xdk:lib-json:testXtc` runs the
library's tests. The task has run `test` since the extension came in with
#445. It now runs `testXtc`, and the README's table of tasks says so.

Validation: the extension compiles (tsc) and lints clean (eslint). No test
covers the task provider's commands; the headless VS Code suite runs in CI.
@lagergren
lagergren merged commit d72dc18 into master Nov 16, 2026
5 checks passed
@lagergren
lagergren deleted the lagergren/vscode-test-task-runs-testxtc branch November 16, 2026 16:57
lagergren added a commit that referenced this pull request Nov 16, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
lagergren added a commit that referenced this pull request Nov 22, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
lagergren added a commit that referenced this pull request Nov 25, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
lagergren added a commit that referenced this pull request Nov 25, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
lagergren added a commit that referenced this pull request Nov 25, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
lagergren added a commit that referenced this pull request Nov 26, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
lagergren added a commit that referenced this pull request Nov 26, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
lagergren added a commit that referenced this pull request Nov 27, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
lagergren added a commit that referenced this pull request Nov 28, 2026
The extension offers a Test task in Gradle mode, and in embedded mode for a folder with a
build.gradle.kts, since embedded mode has no tests of its own. Both ran `./gradlew test`, which is
the java plugin's Test task and runs no XTC tests. They now run testXtc, as master's
lang/vscode-extension/src/task-provider.ts does since #772 for the one Test task it has. The
README's Gradle row says so too.

errs needs this by hand: the embedded-mode Test task exists only here, so rebasing onto master
would have left it running `test`. #693 got the same change when it was rebased onto master.

Validated: :lang:vscode-extension:npmCompile; no `./gradlew test` is left in the extension's
sources or README. The editor tour only checks that Build, Test and Clean are listed.
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