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.

API to treat output results outside of robocop

See original GitHub issue

Feature: It would be useful to implement an API that returns robocop output results.

For example:

from robocop.run import run_robocop

test = run_robocop()

In this specific scenario it would be very useful to retrieve the output in order to manage data outside of the robocop context (for example reports, badges and more).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
bhirszcommented, Feb 10, 2021

Output looks great.

For returning the output I can create special method - I want to keep it separate, ie have current run() be described as run_cli() and for running from python run(). It would allow bit different configuration (easier) and we can return payload from run() while run_cli() would behave the same as it is now.

We also need to add unit tests, I can cover that.

0reactions
bhirszcommented, Feb 28, 2021

Closed with #252

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rules - Robocop 2.6.0
Output message of rules can be defined with -f / --format argument. ... VisitorChecker uses Robot Framework parsing API and Python ast module...
Read more >
MarketSquare/robotframework-robocop - GitHub
It uses official Robot Framework parsing API to parse files and run number of checks, looking for potential errors or violations to code...
Read more >
Using work items | Robocorp documentation
Dependencies. The primary way to interact with work items is through the RPA. · The producer: Creating output work items · The consumer:...
Read more >
Get $LastExitCode from robocopy result and output to file
How do I get the $LastExitCode from robocopy result in PowerShell and output it to file? This is what I tried:
Read more >
Cookstyle - Chef Software
Cookstyle is a code linting tool that helps you write better Chef Infra cookbooks by detecting and automatically correcting style, syntax, ...
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