seitime-frappe/frappe/testing/config.py
David Arnold 7e453ea515
Testing Module (#28000)
* 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
2024-10-07 09:46:49 +02:00

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