Redis fixtures and fixture factories for Pytest.
Overall
score
95%
Data persistence configuration (save, RDB compression/checksum)
Factory import
100%
100%
Process fixture creation
100%
100%
Save configuration
100%
100%
RDB compression
0%
0%
RDB checksum
0%
0%
Port configuration
100%
100%
Client fixture creation
100%
100%
Fixture factory functions for custom configurations
redis_proc factory import
50%
100%
redisdb factory import
50%
100%
Development process fixture
100%
100%
Production process fixture
100%
100%
Development client fixture
100%
100%
Production client fixture
100%
100%
Process-client linkage
100%
100%
Test usage
100%
100%
Ready-to-use pytest fixtures (redisdb, redis_proc, redis_nooproc)
redisdb fixture usage
0%
100%
Redis client methods
100%
100%
JSON handling
100%
100%
Test structure
0%
100%
Unix socket support with path validation
Factory function usage
100%
100%
Data directory configuration
100%
100%
Client fixture creation
100%
100%
Socket path validation
50%
100%
Exception handling
0%
100%
Redis operations
0%
100%
Database lifecycle management (setup/teardown/cleanup)
Uses redisdb fixture
100%
100%
Relies on automatic cleanup
100%
100%
Test isolation verification
100%
100%
Proper Redis client usage
100%
100%
Three-level configuration hierarchy (factory args, CLI, pytest.ini)
Factory functions used
80%
100%
pytest.ini configuration
100%
100%
Factory argument override
72%
100%
CLI option handling
53%
66%
Precedence verification
40%
33%
Authentication support (username/password)
Factory Function Usage
83%
66%
Client Factory Usage
100%
100%
Authenticated Connection Test
100%
100%
Authentication Failure Test
100%
100%
Flexible port allocation strategies
Random port allocation
100%
100%
Port range allocation
100%
100%
Port set allocation
100%
100%
Client fixture creation
100%
100%
Multiple instances verification
100%
100%
Test implementation correctness
100%
100%
Multiple Redis instance support
Factory import
100%
100%
Process fixtures creation
100%
100%
Client fixtures creation
80%
100%
Port configuration
86%
100%
Test implementation
100%
100%
Fixture configuration
100%
100%
Comprehensive error handling (custom exceptions)
RedisMisconfigured usage
100%
100%
UnixSocketTooLong usage
100%
100%
RedisUnsupported usage
100%
100%
Exception import
100%
100%
Install with Tessl CLI
npx tessl i tessl/pypi-pytest-redisTable of Contents