Interface TestManagementSystem
- All Known Implementing Classes:
AbstractTestManagementSystem,TestRailManagementSystem,ZephyrTestManagementSystem
public interface TestManagementSystem
Interface for test management system integrations.
Implementations should handle the specific requirements of each test management system.
-
Method Summary
Modifier and TypeMethodDescriptionvoidFlush any queued results to the test management system.Get the status of the last operation.getName()Get the name of the test management system.voidinitialize(Object config) Initialize the test management system with configuration.booleanCheck if the test management system is properly configured.pushResults(List<UnifiedTestResult> results) Push test results to the test management system.voidqueueTestResult(UnifiedTestResult result) Queue a test result for later batch processing.
-
Method Details
-
initialize
Initialize the test management system with configuration.- Parameters:
config- Configuration object specific to the test management system
-
queueTestResult
Queue a test result for later batch processing.- Parameters:
result- Test result to queue
-
pushResults
Push test results to the test management system. If results parameter is null, only queued results will be pushed.- Parameters:
results- List of test results to push (can be null)- Returns:
- Map of test names to their corresponding IDs in the test management system
-
flushResults
void flushResults()Flush any queued results to the test management system. -
getName
String getName()Get the name of the test management system.- Returns:
- System name (e.g., "zephyr", "testrail")
-
isConfigured
boolean isConfigured()Check if the test management system is properly configured.- Returns:
- true if the system is configured and ready to use
-
getLastStatus
OperationStatus getLastStatus()Get the status of the last operation.- Returns:
- Status object containing success/failure information and any error messages
-