question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Reports json_report not working from command line execution[Bug]

See original GitHub issue

What happened?

Hi, Reading the doc seems i can get a report with the list of issues found in JSON format with the command robocop -r json_report -o report.json file/to/parse.robot. But seems this doesn’t work and instead I get a file with the classic text line "{source}:{line}:{col} [{severity}] {rule_id} {desc} ({name})"

Is it a bug or am i missing something? thank you very much

Operating System

10.0.19042

Robocop version

1.12.0

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
bhirszcommented, Jun 20, 2022

I will redo the documentation soon for the json report.

@Reddriver As for the version report it should work (from Robocop 2.1.0 onwards). Just tested it: image

0reactions
Reddrivercommented, Jun 20, 2022

well, I see now, thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to run plugin directly on command line #41 - GitHub
So I tried running mvn cucumber-reporting:generate -DcucumberOutput=target/cucumber.json I get the same error. It would be really nice if I ...
Read more >
Cypress mochawesome Reporting :Getting error as 'command ...
use npx mochawesome-report-generator .... instead of npx marge .... It worked for me.
Read more >
Munit Coverage reports not being generated as expected ...
When running Munit tests from the command line you are not seeing coverage reports generated either in the console or in HTML /...
Read more >
Command line usage — Coverage.py 6.4.4 documentation
json – Produce a JSON report with coverage results. ... Specifying --source on the coverage run command line won't affect subsequent reporting commands...
Read more >
Allure Framework
Report bugs in GitHub issues. ... To run commandline application, Java Runtime Environment must be installed ... Test defects (broken tests).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found