Run with Coverage now works for `dotnet test` configurations: VSTest projects collect with coverlet.collector, Microsoft.Testing.Platform projects with Microsoft.Testing.Extensions.CodeCoverage (Cobertura output). The runner is chosen from global.json's test.runner and an MSBuild evaluation of the project; a test project without the package gets an Install notification that runs `dotnet add <project> package …`. Each run writes to its own results directory and the reports of every test project are merged (the TRX logger's copies are not counted twice). Cobertura branch flags are read case-insensitively (coverlet writes `True`). The Rust CI job's .NET 10 SDK step now also serves ide-coverage's real-CLI test. Co-authored-by: wildcatDownstairs <[email protected]>
QA fixtures
Small, realistic projects for manual QA and end-to-end tests of OpenIDEA. Each one
has a few source files, passing tests, an opt-in failing test, TODO/FIXME
comments and at least one intentional warning, so every IDE feature has
something to show.
| Fixture | Toolchain | Run | Tests | Failing test | Intentional warning |
|---|---|---|---|---|---|
rust-app/ |
cargo | cargo run |
cargo test |
cargo test --features failing-tests |
unused variable in src/parser.rs |
ts-app/ |
Node 22+, pnpm/npm | pnpm start |
pnpm test (vitest) |
OPENIDEA_FAIL=1 pnpm test |
unused function in src/index.ts |
playwright-app/ |
Node 22+, npm (Playwright Test, no browser needed) | — | npm test |
OPENIDEA_FAIL=1 npm test |
unused function in src/checkout.ts |
cypress-app/ |
Node 22+, npm (Cypress 16 with its Electron, no server needed) | — | npm run e2e |
npm run e2e -- --expose fail=1 |
unused function in src/cart.ts |
node-test-app/ |
Node 22+, npm (no dependencies) | — | npm test (node:test) |
OPENIDEA_FAIL=1 npm test |
unused constant in src/inventory.js |
mocha-app/ |
Node 22+, npm | — | npm test (Mocha) |
OPENIDEA_FAIL=1 npm test |
unused constant in src/pricing.js |
jasmine-app/ |
Node 22+, npm | — | npm test (Jasmine) |
OPENIDEA_FAIL=1 npm test |
unused constant in src/cart.js |
python-app/ |
Python 3.10+, pytest | python -m tasks.cli (from src/) |
pytest |
OPENIDEA_FAIL=1 pytest |
unused imports in models.py |
go-app/ |
Go 1.22+ | go run ./cmd/server |
go test ./... |
OPENIDEA_FAIL=1 go test ./... |
unused fmt.Sprintf result in internal/store/store.go |
kotlin-gradle/ |
JDK 21, Gradle 8 (no wrapper) | gradle run |
gradle test |
gradle test -PopenideaFail |
unused variable in App.kt |
java-app/ |
JDK 21, Maven 3.9 | mvn compile exec:java |
mvn test |
mvn test -DopenideaFail=true |
unused variable in App.java |
java-multimodule/ |
JDK 21, Maven 3.9 | mvn -q compile |
— | — | — |
kotlin-gradle-multi/ |
JDK 21, Gradle 8 (no wrapper) | gradle :app:run |
— | — | — |
spring-app/ |
JDK 21, Maven 3.9, Spring Framework 6.2 | mvn compile exec:java -Dexec.mainClass=com.example.shop.AppConfig |
— | — | — |
c-app/ |
gcc / g++ 12+, make, GDB 14+ | make all |
— | — | — |
php-app/ |
PHP 8.5, Composer | composer quote |
vendor/bin/pest |
OPENIDEA_FAIL=1 vendor/bin/pest |
unused variable in ThresholdCustoms.php |
unittest-app/ |
Python 3.10+ (standard library only) | — | python -m unittest; doctests in inventory/stock.py |
OPENIDEA_FAIL=1 python -m unittest |
unused import in inventory/stock.py |
django-app/ |
Python 3.10+, Django 5.2+ | python manage.py runserver |
python manage.py test |
OPENIDEA_FAIL=1 python manage.py test |
unused import in shop/views.py |
aspnet-app/ |
.NET 10 SDK (ASP.NET Core MVC and Razor Pages, no packages) | dotnet run |
— | — | unused variable in Controllers/ShowsController.cs |
python-profiling/ |
Python 3.10+ (standard library only) | python cpu_heavy.py (Run › Profile) |
— | — | — |
tailwind-app/ |
Node 22+, pnpm/npm, Tailwind CSS 4, React | pnpm dev |
— | — | flex conflicting with block in src/App.tsx |
zig-app/ |
Zig 0.17 | zig build run |
zig build test |
— | — |
dotnet-coverage/ |
.NET 10 SDK | — | dotnet test Calc.slnx |
— | — (Run with Coverage; mtp/ is Microsoft.Testing.Platform) |
swiftpm-app/ |
Swift 6+ (Xcode or a swift.org toolchain) | — | swift test (XCTest and Swift Testing) |
OPENIDEA_FAIL=1 swift test |
— |
biome-app/ |
Node 22+, @biomejs/biome (npm install) |
npm start |
— | — | let never reassigned, == and a duplicate CSS color (Biome) |
dprint-app/ |
Node 22+, dprint (npm install) |
npm start |
— | — | unformatted src/index.ts / src/data.json (dprint); README.md keeps Prettier |
stylelint-app/ |
Node 22+, stylelint (npm install) |
— | — | — | long hex colour, unknown property, empty block, duplicate selector (Stylelint) |
polyglot/ |
Go, TS, Python, C, shell, SQL, TOML/YAML/JSON, proto, Terraform | make |
make test |
— | unused variable in native/hash.c |
python-app/notebooks/summary.ipynb is a Jupyter notebook for the notebook editor (running it needs
ipykernel in the selected interpreter).
The fixtures are standalone: rust-app declares its own [workspace] and
fixtures/eslint.config.js keeps them out of the IDE's own lint run.
The language smoke test (crates/ide-host/tests/language_smoke.rs) runs completion,
navigation, diagnostics, quick fixes, formatting and rename on these projects with real
language servers, smoke/run.test.ts runs each project's run and test configurations
(the intentionally failing test included, then Rerun Failed Tests), and smoke/debug.test.ts
debugs its entry point from the "Set a breakpoint here" line: when you change a fixture, run
them for that language.
The two multi-module fixtures exercise project structure in language_smoke.rs: navigation
crosses from app into the other module and into a library, a rename edits both modules, and
the build tool still compiles the result. The same test file also covers server restart with an
unsaved edit open and external changes to an unmodified open file for TypeScript, Java and Kotlin.
Run one locally with its real server installed, for example:
cargo test -p ide-host --test language_smoke -- --ignored --exact java_multimodule
Setup
Work on a copy so git and edits never touch this repository:
cp -R fixtures/rust-app /tmp/qa-rust && cd /tmp/qa-rust
git init -q && git add -A && git commit -qm "initial" # for the VCS checks
Then open the folder with File › Open… (⌘⇧⌥O) or from the Welcome screen.
For ts-app / playwright-app / mocha-app / polyglot/web run pnpm install first (npm install for biome-app, cypress-app, dprint-app and stylelint-app); for python-app create a
venv (python3 -m venv .venv && .venv/bin/pip install -e '.[dev]'; add ipykernel to run
notebooks/variables.ipynb, which exercises the Jupyter Variables tool window); for
php-app run composer install (debugging it needs Xdebug in the PHP on PATH).
For aspnet-app, its views need roslyn-language-server (May 2026 or newer)
and vscode-langservers-extracted for code insight in .cshtml and .razor files.
Missing language servers / debuggers can be installed from the IDE: Settings › Languages & Frameworks › Language Servers, or from the "… is not installed — Install" notification shown when a file is opened.
QA checklist
Run each block on at least rust-app and one other fixture; tick polyglot for
language detection and highlighting.
Open & workbench
- Opening the folder shows the project name in the title bar, the Project tool
window (
⌘1) on the left, stripes on both sides and the status bar. - Indexing progress appears in the status bar and finishes.
- Closing and reopening the window restores open tabs and tool windows.
Project tree
- Arrow keys move the selection;
→/←expand/collapse;Enter/F4opens a file. - Ignored folders (
target/,node_modules/,build/,vendor/) appear dimmed. - New file (
⌘N), rename (⇧F6), delete (⌫) work and the tree updates.
Search Everywhere & navigation
- Double
⇧opens Search Everywhere; typingparserfindssrc/parser.rs. ⌘O(classes) findsInventory/Cart/TaskList/Library/Shipment.⌘⇧O(files) and⌘⌥O(symbols) findformat_price/formatMoney.⌘Elists recent files;⌘[/⌘]navigate back/forward.⌘Bon a call (format_priceinmain.rs,cart.total()inindex.ts,billableGramsinquote.php) jumps to the declaration;⌥F7lists usages.⌘F12shows the file structure;⌘Lgoes to a line.
Editing & code insight
- Typing in a file marks the tab modified;
⌘Ssaves; external edits reload. ⌘Fopens the find bar (match case / words / regex);⌘Rreplaces.⌘⇧FfindsTODOacross the project and opens results.- Completion (
⌃Space) oninventory./cart./tasks./$parcel->lists members. - Hover /
F1shows documentation;⌘Pshows parameter info. - Warnings: the intentional warning is underlined and listed in Problems (
⌘6);F2jumps to it;⌥Enteroffers a quick fix. - Rename (
⇧F6)total_value/subtotal/pendingupdates every usage (check the preview) and undo restores them. - Reformat (
⌘⌥L), comment line (⌘/), duplicate line (⌘D) and extend selection (⌥↑) behave like IDEA.
Razor views (aspnet-app)
.cshtmland.razorfiles open with the Razor file icon; markup, C# and@constructs are highlighted, and[email protected]/@@cornerstageinShows/Details.cshtmlstay text.- Completion after
Model.inShows/Details.cshtmllistsTitle,Venue, …; HTML completion works in markup; hover onModel.Priceshows its type. <vc:seats-left>and<component>are coloured as tag helpers;asp-actionas an attribute.⌘Bon"_ShowCard","Book"(asp-action),"/About"(asp-page),"Dashboard"(asp-controllerwithasp-area),"_Layout",View("Confirmation")andRedirectToAction("Index")opens the partial, action, page, controller, layout, view and action.- Navigate › Related Symbol on
ShowsController.DetailsopensViews/Shows/Details.cshtml, and back; on thePOSTBookit offersBook.cshtmlandConfirmation.cshtml, and fromConfirmation.cshtmlit goes toBook; onPages/About.cshtmlit offers the page model; onShows/Index.cshtmlthe scoped CSS. - Typing
<div>inside the@ifofShows/Index.cshtmlcloses the tag; renaming an opening tag renames its closing tag;@*closes the comment; code blocks fold and indent. - New › Razor File offers View, Partial View, Layout, Razor Page and Razor Component.
TODO
- The TODO tool window lists every
TODO/FIXMEin the fixture and opens them.
Run configurations & tests
- Run configurations are detected: cargo run/test (Rust), package.json scripts
(TS), pytest (Python),
go test/go run(Go), Gradle tasks (Kotlin), composer.json scripts and Pest (PHP). - Gutter run icons appear next to
mainand test functions; running one opens the Run tool window (⌘4) with the output. - The test tree shows passed tests; enabling the failing test (table above) shows it red with the assertion message and a link to the source line.
⌘F2stops a running process (trygo run ./cmd/server).
Debugger
- Each fixture's entry point has a "Set a breakpoint here" comment: toggle a
breakpoint there (
⌘F8) and start debugging (⌃D). - Execution stops on the line; Frames and Variables show
inventory/cart/tasks/library/$shipment; inline values appear in the editor. - Step over (
F8), into (F7), out (⇧F8), resume (⌘⌥R) and evaluate (⌥F8). - If the debug adapter is missing (CodeLLDB, debugpy, Delve, PHP Debug), the error offers the installer and debugging works after installing.
Git
- Edited lines show gutter change markers; the tree and tabs colour modified files.
- Commit tool window (
⌘0/⌘K) lists changes with a diff; partial staging works. - Committing clears the changes; Git log (
⌘9) shows the commit; blame works. - Creating and switching branches from the status bar widget works.
Terminal
⌥F12opens the terminal in the project root; run the test command there.- Several tabs, resize, copy/paste and
exitbehave; the shell'sPATHincludes tools installed by the IDE.
Settings & installer
⌘,opens Settings; search finds "Language Servers".- Language Servers lists each tool with languages, status (Installed / On PATH / Missing) and version; Install streams progress and can be cancelled; Uninstall removes managed tools. Nothing downloads without clicking Install.