Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(@angular/build): add reporter output file option for unit-test#30682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
cexbrayat wants to merge1 commit intoangular:main
base:main
Choose a base branch
Loading
fromcexbrayat:feat/vitest-output-file

Conversation

cexbrayat
Copy link
Member

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

it is not possible to customize the output file of a reporter for the vitest runner.

What is the new behavior?

The experimentalunit-test builder now contains an additional option namedoutputFile that supports configuring the output file for the reporter. This option is currently only used by thevitest runner. Seehttps://vitest.dev/config/#outputfile

Usage example:

ng test --no-watch --reporter=json --output-file=results/unit-test.json

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@angular-robotangular-robotbot added detected: featurePR contains a feature commit area: @angular/build labelsJul 9, 2025
The experimental `unit-test` builder now contains an additional optionnamed `outputFile` that supports configuring the output file for the reporter.This option is currently only used by the `vitest` runner.Seehttps://vitest.dev/config/#outputfileUsage example:```ng test --no-watch --reporter=json --output-file=results/unit-test.json```
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@alan-agius4alan-agius4Awaiting requested review from alan-agius4

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
area: @angular/builddetected: featurePR contains a feature commit
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@cexbrayat@alan-agius4

[8]ページ先頭

©2009-2025 Movatter.jp