abraunegg-onedrive/ci/e2e/framework/base.py
abraunegg 8fa8283b6e Update PR
* Convert to a python harness
2026-03-07 11:54:51 +11:00

23 lines
No EOL
501 B
Python

from __future__ import annotations
from abc import ABC, abstractmethod
from framework.context import E2EContext
from framework.result import TestResult
class E2ETestCase(ABC):
"""
Base class for all E2E test cases.
"""
case_id: str = ""
name: str = ""
description: str = ""
@abstractmethod
def run(self, context: E2EContext) -> TestResult:
"""
Execute the test case and return a structured TestResult.
"""
raise NotImplementedError