Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

request: melos test #830

Open
1 task done
ricardodalarme opened this issue Jan 8, 2025 · 1 comment
Open
1 task done

request: melos test #830

ricardodalarme opened this issue Jan 8, 2025 · 1 comment

Comments

@ricardodalarme
Copy link

Is there an existing feature request for this?

  • I have searched the existing issues.

Command

melos test

Description

Pub Workspaces do not support running dart test or flutter test across all packages in the workspace. Developers still need to manually navigate to each package or script custom solutions to run tests across the entire monorepo.

Reasoning

  1. One command to run all tests across the workspace, regardless of package type
  2. Eliminate the need to create a melos script that runs the tests

Additional context and comments

I know it's already possible to create a custom Melos script to achieve this, but it would be helpful to have a built-in solution, similar to how melos analyze automatically runs dart analyze for Dart projects and flutter analyze for Flutter projects.

@lishaduck
Copy link

I use the very_good_cli for tests, would be great to drop a dependency (vgc automatically puts all of the tests in a single isolate, leading to significant speedups, and it defaults to --no-pub (#815)).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants