very_good_cli
very_good_cli copied to clipboard
feat(test): add --reporter to output in JSON
Description
Added the --reporter
flag in the test command, to allow the user to output the test results in JSON. This change simply passes through the command and disables logging when outputting to JSON
Type of Change
- [x] โจ New feature (non-breaking change which adds functionality)
- [ ] ๐ ๏ธ Bug fix (non-breaking change which fixes an issue)
- [ ] โ Breaking change (fix or feature that would cause existing functionality to change)
- [ ] ๐งน Code refactor
- [ ] โ Build configuration change
- [ ] ๐ Documentation
- [ ] ๐๏ธ Chore
I'm not sure if it makes more sense to the use --machine
arg or --reporter
arg, I just tried to stick to the original flutter command.
I'm having some issues running the tests in my local environment, some tests I haven't gone near are failing so apologies in advance if I missed something glaring
Hi! any news on this PR? I would also need it to get a JSON report for my pipeline....
@felangel, @jackgllghr is this PR dead? Sorry if I'm beeing to insistent...
@felangel, @jackgllghr is this PR dead? Sorry if I'm beeing to insistent...
It's not dead but the changes included in this PR are not sufficient so additional work needs to be done to get this to a mergable state.
My apologies, the project I required this for got cancelled so my focus wavered. I might get a chance to look at this over the Xmas break, but if someone wants to jump in and finish it off, go for it
My apologies, the project I required this for got cancelled so my focus wavered. I might get a chance to look at this over the Xmas break, but if someone wants to jump in and finish it off, go for it
No problem at all! I'm going to close the PR for now but feel free to reopen it if you have time to revisit this, thanks!