* refactor: add create_handler alongside create_logger * fix: bench helper click exceptions for --help (2nd attempt) * fix: increase logging level missing test records * fix: reorganize test runner into testing module and refine logging * fix: semgrep complaint * chore: remove unused code; only keep deprecation proxies * fix: import statements * fix: output & string processing
15 lines
377 B
Python
15 lines
377 B
Python
from dataclasses import dataclass, field
|
|
from typing import Optional, Union
|
|
|
|
|
|
@dataclass
|
|
class TestConfig:
|
|
"""Configuration class for test runner"""
|
|
|
|
profile: bool = False
|
|
failfast: bool = False
|
|
tests: tuple = ()
|
|
case: str | None = None
|
|
pdb_on_exceptions: tuple | None = None
|
|
selected_categories: list[str] = field(default_factory=list)
|
|
skip_before_tests: bool = False
|