Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Sep 12, 2025

This change introduces a new filter option to the unit-test builder. This allows users to specify a regular expression to match against test description names, providing a way to run a subset of tests.

The option is implemented for the Vitest runner by passing the value to the testNamePattern configuration option. A warning is added for the Karma runner to inform users that the option is not yet supported there.

@clydin clydin added the target: major This PR is targeted for the next major release label Sep 12, 2025
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: @angular/build labels Sep 12, 2025
@clydin clydin changed the title feat(@angular/build): add 'filter' option to unit-test builder feat(@angular/build): add filter option to unit-test builder Sep 12, 2025
This change introduces a new `filter` option to the `unit-test` builder. This allows users to specify a regular expression to match against test description names, providing a way to run a subset of tests.

The option is implemented for the Vitest runner by passing the value to the `testNamePattern` configuration option. A warning is added for the Karma runner to inform users that the option is not yet supported there.
@clydin clydin force-pushed the unit-test/filter-option branch from ee3092c to d411403 Compare September 12, 2025 23:54
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: review The PR is still awaiting reviews from at least one requested reviewer area: @angular/build detected: feature PR contains a feature commit target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant