-
Notifications
You must be signed in to change notification settings - Fork 81
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
[JENKINS-64516] Add support for Robot Framework 4.0 #40
Conversation
…-plugin into new-robot-parser
src/main/java/hudson/plugins/robot/view/RobotListViewColumn.java
Outdated
Show resolved
Hide resolved
src/main/java/hudson/plugins/robot/view/RobotListViewColumn.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Tatu Kairi <280218+Tattoo@users.noreply.github.com>
Co-authored-by: Tatu Kairi <280218+Tattoo@users.noreply.github.com>
Make kw the default Co-authored-by: Tatu Kairi <280218+Tattoo@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's finish the unresolved questions
LGTM! |
Nice work, updating the plugin to support robotframework 4.0 I did some initial tests, and found a glitch. I first tested the plugin(v3.0.0) using un-adjusted robot projects (using robotframework v3.2.2 and robotframework-pabot v1.10.1). That worked perfect (the generated report was processed correctly. Rebot was used creating the report. Then I tested the plugin(v3.0.0) using un-adjusted robot projects(using robotframework v4.0.0 and robotframework-pabot v1.11). The generated report (created using rebot) was generated without a problem, But the plugin did not pickup the correct values for passed and failed tests The project had 333 tests in total, 326 passed and 7 failed. the plugin gave the following result: in short: I don't know why and i can't share the report for debugging, I'm sorry to say |
@emakaay , Tried with the same version combos and smaller test count, and it seems to work correctly. Could you try running your setup with smaller test set to see if the counts work? Another thing that puzzles me, is why are you using |
@Tattoo , I will try to run a smaller set of tests, to see if that results to different outcome. That will take a couple of days though. I know pabot already creates the mentioned files. The reason we use rebot, is because we have tests that sometimes fail. Sometimes caused by fragile tests, but most of the time environment issues cause a perfect test to fail. Those failing test will be rerun (with the robot option--rerunfailed) to get a perfect 'green' test result... To combine the multiple files we use rebot! |
@emakaay , Ok, that makes sense. Just to double-check, I would advise you to also take a look that each different version of |
@Tattoo I don't think that is causing any problems |
I recently said that the new plugin with robotframework v4.0 was working (no pabot). Before v3.0 the plugin would always present 2 lines (1 with critical tests, and another with All Tests) With v3.0 the first line (critical test) is there, but always filled with 0,0,0, 100% When using the plugin in combination with pabot this is also true |
Yes, this is by design as explained in the plugin documentation, as there is no criticality anymore in RF 4.0 |
Robot Framework 4.0 adds a new test status "SKIP" and removes test criticality. RF 4.0 also removes
<tags></tags>
and<arguments></arguments>
tags from output.xml, so parser needs to be able to handle new output.xml formats.This PR
SKIP
status to job list view, test result overview, Blue Ocean, test result details viewonlyCritical: false
)