Or in VSCode: Extensions sidebar > ... menu > Install from VSIX...
Development
Open utils/vscode-daslang-test/ as a workspace in VSCode, then press F5 to launch the Extension Development Host.
Configuration
Setting
Default
Description
dascript.compiler
""
Path to daslang compiler (auto-detected from bin/Release/daslang.exe)
dascript.dastestPath
""
Path to dastest/dastest.das (auto-detected if in the daScript repo)
dascript.testTimeout
120
Test execution timeout in seconds
How it works
The extension scans .das files for require dastest/testing_boost and parses [test]/[benchmark] annotations via regex. When you run tests, it invokes dastest with --json-file for structured results and --bench for benchmarks. Test names are filtered with --test-names/--bench-names when running individual items.
Files with expect directives (negative compilation tests) are automatically excluded.