-
Notifications
You must be signed in to change notification settings - Fork 202
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
Support for --machine in very_good test #331
Comments
Are there any reasons why cc: @marcossevilla |
The goal is not to expose an API that mirrors the underlying flutter/dart tool APIs. We wanted the CLI to serve as an abstraction above existing tooling so we didn't want to tightly couple them by proxying commands/options directly. Also, the CLI is using package:args which has a standard way of defining CLI flags and options. If we accepted Hope that helps 👍 |
Ah, thanks for the detailed answer! |
Isn't the requested feature valid? |
Yup reopening this to track the lack of support for --machine |
Hi @felangel any update for this feature. We need to generate also a json file for sonar or other tools. We tried to open a PR to add this option or an equivalent option. We discovered that --reporter=json is already added to flutter test command but the output is mapped to a list of objects. thanks for your help |
Big +1! It would really help us out to have machine readable output. |
Hey all, just want to give an update: This is in on our radar but we probably won't get to it for a couple of weeks. We're more than happy to review any PRs in the meantime if this is urgent/blocking for folks. |
Added a PR here: #473 |
It would be great to get this option.... I'm looking forward to it, it is mandatory for my project in order to use it in our pipelines |
Any news on this feature by chance? |
This would be a really useful feature for our GitHub pipeline. We're using very_good with optimization and it's a lot faster than the default tests. But unfortunately it's not possible to use an action like Test Reporter because of the missing json summary file. |
Hello! I think this is not an issue anymore since VGC test supports "vanilla" parameters using Just be careful not to use |
I tried the
|
Description
Support for the
--machine
option fromflutter test
. It provides a way to output a summary of the tests that were executed. How many failed, how long they took, etc... This output is useful to then convert it to popular formats such as an XML JUnit report, which can be interpreted by different other tools, like CI/CD platforms or IDEs. One tool to convert this output is https://pub.dev/packages/junitreportOn a
dart test
, the report output is obtained with--reporter json
, not with--machine
The text was updated successfully, but these errors were encountered: