def pytest_configure(config):
    """Configuration hook for pytest.

    Args:
        config: The pytest configuration object.
    """
    now = datetime.datetime.now()
    logging.basicConfig(
        level=logging.INFO,
        format='%(asctime)s [%(levelname)s] %(message)s',
        handlers=[
            logging.FileHandler(f'test_results_{now.strftime("%Y%m%d_%H%M%S")}.log'),
            logging.StreamHandler(),
        ],
    )
Configuration hook for pytest.

    Args:
        config: The pytest configuration object.
    
evaluation/regression/conftest.py