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 Details

    • initialize

      void initialize(Object config)
      Initialize the test management system with configuration.
      Parameters:
      config - Configuration object specific to the test management system
    • queueTestResult

      void queueTestResult(UnifiedTestResult result)
      Queue a test result for later batch processing.
      Parameters:
      result - Test result to queue
    • pushResults

      Map<String,String> pushResults(List<UnifiedTestResult> results)
      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