-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Enable test to be re-run in the same test suite #133
Comments
As a workaround until this feature is implemented you can already do the following:
|
How I envisage this will work is somewhat similar to the way the agent reports the test results, the agent will create the listener and add it to the robot command line when running the robot as it does with RFSListener2.py. This is a little mote complicated though, as we will also need to do the following:
|
Maybe we can avoid the need to communicate back to the agent by making the repeated tests a sub test of the initial test iteration This could potentially look like
Just need work out how that would work with the data coming back to the Manager and also with Reporter |
Including the setting in the job data for agent agent code to read from jobdata Now just need to do some testing to make sure it's all working Issue #133
Reporter not working with data from tests with decimal iteration need to investigate Issue #133
turns out I didn't break reporter, it was simply am insufficient data issue, 7 results is not enough to generate a 90 percentile, ran reporter again after running the test a bit longer and everything display's as expected. |
Merged into v1.2.0 release branch |
Found an issue with the iteration numbering
1.1 and 1.10 are treated as the same number, likewise 1.2 and 1.20. |
I've thought a bit about how to solve this
|
Now resolved using 1_10, Fix Merged into v1.2.0 release branch |
Is your feature request related to a problem? Please describe.
When running tests with Browser Library or SeleniumLibrary there is a large CPU overhead on the agent machines launching the browser and closing it each test iteration
Describe the solution you'd like
It would be good to have the option to tell the agent to simply re-run the test in the same test suite, that way the launching of the browser can be done in a suite setup and closing the browser in a suite tear down, and the actual website test case can be run over and over again without having to close the browser each time
There is an example of how to achieve this with the Robot Framework Listener interface in this forum post:
https://forum.robotframework.org/t/can-i-run-setup-test-and-teardown-separately/3878/14?u=damies13
The text was updated successfully, but these errors were encountered: