Repository navigation
Run testXtc for the VS Code extension's Test task - #772
Merged
Merged
Conversation
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.
ggleyzer
approved these changes
Nov 16, 2026
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.
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.
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:
./gradlew :xdk:lib-json:testtest NO-SOURCE: nothing runs./gradlew :xdk:lib-json:testXtcThe 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.