nx icon indicating copy to clipboard operation
nx copied to clipboard

--verbose flag does not work on with test commands

Open peter-coastpay-com opened this issue 1 year ago • 2 comments

Version info:

"@nrwl/cli": "14.5.4", "@nrwl/cypress": "14.5.4", "@nrwl/eslint-plugin-nx": "14.5.4", "@nrwl/jest": "14.5.4", "@nrwl/linter": "14.5.4", "@nrwl/nx-cloud": "latest", "@nrwl/react": "14.5.4", "@nrwl/storybook": "^14.5.4", "@nrwl/web": "14.5.4", "@nrwl/workspace": "14.5.4",

Behavior:

When trying to run tests with the --verbose flag, no logging appears:

yarn nx run-many --all --target=test --skip-nx-cache --verbose

expected:

Id expect to see some kind of log messages

peter-coastpay-com avatar Aug 15 '22 14:08 peter-coastpay-com

--verbose is used to print stack traces when something internal to Nx throws an error, what logging are you expecting to see?

AgentEnder avatar Aug 19 '22 21:08 AgentEnder

Are you wanting to see the output of the tests while using run-many? by default you'll only see the output when an error happens. if you want to see the output always then you can use the --output-style arg to customize the output of the output of nx. i.e. yarn nx run-many --all --target=test --skip-nx-cache --output-style=stream

barbados-clemens avatar Aug 22 '22 13:08 barbados-clemens

This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏

github-actions[bot] avatar Oct 04 '22 00:10 github-actions[bot]