Commit Graph

20 Commits

Author SHA1 Message Date
Martin Aeschlimann 0204b2d2a6 css/html: use built-in node test framework (#309625)
* css/html: use built-in node test framework

* fix tests and reporter
2026-04-14 11:36:31 +02:00
Martin Aeschlimann 91b02efb23 use ESM for HTML/CSS/JSON language servers (#309566)
* convert html server to esm

* update html language service

* update

* update

* update json

* update css

* update

* update

* update jsonc-parser
2026-04-13 13:51:31 -07:00
Rob Lourens c065b175fd Add argument parsing, suite filtering, and grep support to integration test scripts (#305837)
* Add argument parsing, suite filtering, and grep support to integration test scripts

- Add --run, --runGlob, --grep, --suite, and --help argument parsing
- --suite selects extension host test suites (comma-separated, glob patterns)
- --grep forwards test name filter to all runners via MOCHA_GREP env var
- Validate --suite filter matches at least one known suite
- Add MOCHA_GREP support to testrunner.js, CSS and HTML test runners
- Seed user settings to suppress dock bounce notifications
- Always apply *.integrationTest.js glob for node.js tests
- Add integration-tests skill documentation

* Address Copilot review feedback

- Quote cd $ROOT, rm -rf $VSCODEUSERDATADIR, rmdir %VSCODEUSERDATADIR%
- Quote --runGlob pattern to prevent premature glob expansion
- Use GREP_ARGS array for safe grep forwarding in .sh
- Use conditional call with proper quoting for grep in .bat
- Deduplicate suite list into KNOWN_SUITES variable
- Remove unused EXTRA_ARGS and ARGS variables from .bat

* Fix Windows CI: remove unnecessary enabledelayedexpansion

The original script used plain 'setlocal'. Adding 'enabledelayedexpansion'
may affect path resolution behavior on Windows CI. Since no delayed
expansion (\!var\!) syntax is used, revert to the original 'setlocal'.

* Fix Windows CI: capture %~dp0 before call :label corrupts it

In Windows batch, 'call :label' can change what %~dp0 resolves to.
Our should_run_suite subroutine uses 'call :should_run_suite', which
caused %~dp0 to resolve to the wrong directory for extension paths
that appear after the subroutine call. Capture the script directory
once at startup into %SCRIPT_DIR% and use it everywhere.
2026-03-28 11:23:37 +11:00
Ladislau Szomoru 4d7c56ee82 Engineering - Add GitHub action for pull requests (#254056)
* Test - handle running tests as part of a GitHub action

* Add GitHub action files
2025-07-04 08:21:56 +00:00
Benjamin Pasero 14981ce89d tests - enable colors for windows (CI supports it and the new Windows terminal too) 2021-04-19 09:29:20 +02:00
Martin Aeschlimann d4e98289a3 [css] revert changes to test runner 2020-12-18 11:17:57 +01:00
Martin Aeschlimann daad75c2c6 [css] update to vscode-uri@3.0 2020-12-18 10:31:31 +01:00
Ladislau Szomoru b2efcbf687 Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
Pine Wu adc45b549b Fix package.json in css server test fixture 2019-11-18 09:53:06 -08:00
Alex Dima c9a2de2d9c Improve integration test output on Windows (#84239) 2019-11-08 17:21:35 +01:00
Martin Aeschlimann 29daecda2e [css] add test resources 2019-06-06 09:30:58 +02:00
Pine Wu 39fbbf02c4 Do not suggest dot files in html/css. Fix #46780 2018-09-18 11:38:09 -07:00
Pine Wu a40bfc947c @import completion for css/scss/less. Fix #51331 2018-08-07 16:01:21 -07:00
Joao Moreno 8a3ffed0ab vsts: report smoketest results 2018-06-12 17:37:53 +02:00
Joao Moreno 4dc738593b complete integration test results 2018-06-12 17:24:23 +02:00
Pine Wu 7c62e560a2 Fix #47784 2018-04-12 15:50:05 -07:00
Pine Wu ad2a51a96d Fix hygiene 2018-04-12 10:25:14 -07:00
Pine Wu 57cba59b0a Fix #46644 2018-04-11 15:24:27 -07:00
Martin Aeschlimann d9d762d1ce [css] .asar file breaks CSS path completion. Fixes #46638 2018-03-28 21:41:21 +02:00
Pine Wu c52149e7a3 [css] split extension (for #45900) 2018-03-20 14:57:58 -07:00