Modernized build tooling

This commit is contained in:
2025-08-01 05:00:24 +00:00
committed by Your Name
parent 8a93f794d6
commit f7a5d26c41
71 changed files with 6685 additions and 813 deletions
+21
View File
@@ -0,0 +1,21 @@
"""Behave test environment setup."""
import sys
from pathlib import Path
def before_all(context):
"""Set up test environment."""
project_root = Path(__file__).parent.parent
src_path = project_root / "src"
if str(src_path) not in sys.path:
sys.path.insert(0, str(src_path))
context.project_root = project_root
def before_scenario(context, _scenario):
"""Reset context before each scenario."""
context.runner = None
context.result = None