You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve the documentation of the Suite Setup and Teardown behaviour in default state and when TestRepeater setting are enabled
[09:15]crashfile:
Is it recommended to have like a suite setup that runs prior to any test itself?
This is to dataload values that would be use by the test?
similarly at the end it will run a suite teardown?
[12:57]damies13:
The behaviour of Suite Setup and Teardown changed with v1.2.0. By default it still behaves the same as previous versions, but changes if you enable the optional TestRepeater setting.
see documentation here: https://github.com/damies13/rfswarm/blob/master/Doc/rfswarm_manager.md#test-repeater
and Feature request here: #133
This question made me realise the documentation for this could explain it better
[12:59]damies13:
Short answer, you can use Suite Setup and Teardown, but how often they run will be determined by if you enable TestRepeater or not
[13:04]damies13:
If you want it to only run once (even if the test fails, the robot stops and another robot runs a new suite of the same test case) then you can use IF with ${RFS_ITERATION} to only run on iteration 1
If you only want 1 robot to run it once, you can combine ${RFS_ITERATION} with ${RFS_ROBOT}
The text was updated successfully, but these errors were encountered:
Improve the documentation of the Suite Setup and Teardown behaviour in default state and when TestRepeater setting are enabled
[09:15]crashfile:
Is it recommended to have like a suite setup that runs prior to any test itself?
This is to dataload values that would be use by the test?
similarly at the end it will run a suite teardown?
[12:57]damies13:
The behaviour of Suite Setup and Teardown changed with v1.2.0. By default it still behaves the same as previous versions, but changes if you enable the optional TestRepeater setting.
see documentation here: https://github.com/damies13/rfswarm/blob/master/Doc/rfswarm_manager.md#test-repeater
and Feature request here: #133
This question made me realise the documentation for this could explain it better
[12:59]damies13:
Short answer, you can use Suite Setup and Teardown, but how often they run will be determined by if you enable TestRepeater or not
[13:04]damies13:
If you want it to only run once (even if the test fails, the robot stops and another robot runs a new suite of the same test case) then you can use IF with ${RFS_ITERATION} to only run on iteration 1
If you only want 1 robot to run it once, you can combine ${RFS_ITERATION} with ${RFS_ROBOT}
The text was updated successfully, but these errors were encountered: