Redis fixtures and fixture factories for Pytest.
Overall
score
95%
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.
Install with Tessl CLI
npx tessl i tessl/pypi-pytest-redisdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10