-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Problem/Opportunity
When a test is run using the --loop x option, the test function is repeatedx amount of times. Internally to the testController it tracks which iteration it is on so it can log each iteration separately. However, the iteration counter is local to the testController's run function and therefore cannot be used in the test itself.
Proposed Solution
Either save the current iteration to a self variable for the test controller or pass it into the testFunction. This would allow users overwriting the test function to write their tests to have access to the current iteration.
Acceptance Criteria (Optional)
- Users can access the current iteration count of the test from their testFunction.
Additional Notes (Optional)
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request