tessl install tessl/pypi-pytest-redis@3.1.0Redis fixtures and fixture factories for Pytest.
Agent Success
Agent success rate when using this tile
95%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.12x
Baseline
Agent success rate without this tile
85%
A test suite that validates configuration precedence in a Redis fixture system.
Create a test suite that verifies configuration precedence behavior. The system supports three levels: factory arguments (highest), command-line options (medium), and pytest.ini settings (lowest).
@generates
Create a test file with:
All tests should pass when configuration precedence works correctly.
# test_config.py
def test_pytest_ini_configuration():
"""Test uses port from pytest.ini (6380)."""
pass
def test_cli_overrides_ini():
"""Test uses port from CLI option (6381), ignoring pytest.ini."""
pass
def test_factory_args_override_all():
"""Test uses port from factory argument (6382), ignoring CLI and ini."""
passProvides Redis fixtures with configurable options at multiple levels including factory arguments, command-line options, and configuration files.
Test framework that provides the testing infrastructure and fixture system.