Skip to content

Conversation

@clydin
Copy link
Member

@clydin clydin commented Oct 24, 2025

Adds a new --ui option to the unit-test builder to enable the Vitest UI for interactive test execution. This provides a rich, browser-based interface for viewing, filtering, and re-running tests, improving the overall developer experience.

The UI option implicitly enables watch mode to provide a live dashboard. If a user explicitly disables watch mode via --no-watch while the UI is enabled, a warning will be logged, and watch mode will be enforced to ensure the UI functions as expected.

This option is only available for the Vitest runner. An error will be thrown if used with the Karma runner.

@clydin clydin added the target: rc This PR is targeted for the next release-candidate label Oct 24, 2025
@clydin clydin added action: review The PR is still awaiting reviews from at least one requested reviewer and removed area: @angular/build labels Oct 24, 2025
Adds a new `--ui` option to the `unit-test` builder to enable the Vitest UI for interactive test execution. This provides a rich, browser-based interface for viewing, filtering, and re-running tests, improving the overall developer experience.

The UI option implicitly enables watch mode to provide a live dashboard. If a user explicitly disables watch mode via `--no-watch` while the UI is enabled, a warning will be logged, and watch mode will be enforced to ensure the UI functions as expected.

This option is only available for the Vitest runner. An error will be thrown if used with the Karma runner.
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Oct 24, 2025
@clydin clydin merged commit f2248ba into angular:main Oct 24, 2025
33 checks passed
@clydin
Copy link
Member Author

clydin commented Oct 24, 2025

This PR was merged into the repository. The changes were merged into the following branches:

@clydin clydin deleted the unit-test/ui-mode branch October 24, 2025 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: rc This PR is targeted for the next release-candidate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants