Description
Add a unique runID identifier to SuiteRunContext that is generated when each new instance is created. This runID will uniquely identify a specific test suite execution, enabling execution tracking, logging correlation, and per-run state management.
Requirements
- Add private
final field runID of type String to SuiteRunContext
- Generate a unique value at the moment the
SuiteRunContext instance is created
- Value must be immutable (cannot be changed after initialization)
- Value must be thread-safe
- Provide a getter method to access the runID
- Each new
SuiteRunContext instance must have a different runID
Acceptance Criteria
Technical Notes
- Consider using
UUID.randomUUID().toString() for generating unique IDs
- Alternative: timestamp-based with a counter or random component
- The runID should be deterministic per instance but unique across instances
- Consider whether the runID should be included in test execution logs/reports
Description
Add a unique
runIDidentifier toSuiteRunContextthat is generated when each new instance is created. This runID will uniquely identify a specific test suite execution, enabling execution tracking, logging correlation, and per-run state management.Requirements
finalfieldrunIDof typeStringtoSuiteRunContextSuiteRunContextinstance is createdSuiteRunContextinstance must have a different runIDAcceptance Criteria
SuiteRunContexthas a privatefinalrunIDfield of typeStringgetRunID()) returns the runID valueTechnical Notes
UUID.randomUUID().toString()for generating unique IDs