CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pytest-redis

Redis fixtures and fixture factories for Pytest.

Overall
score

95%

Overview
Eval results
Files

Evaluation results

70%

Redis Data Persistence Test Fixture

Data persistence configuration (save, RDB compression/checksum)

Criteria
Without context
With context

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%

100%

10%

Multi-Environment Redis Testing Configuration

Fixture factory functions for custom configurations

Criteria
Without context
With context

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%

100%

45%

Session Storage Service

Ready-to-use pytest fixtures (redisdb, redis_proc, redis_nooproc)

Criteria
Without context
With context

redisdb fixture usage

0%

100%

Redis client methods

100%

100%

JSON handling

100%

100%

Test structure

0%

100%

100%

30%

Redis Unix Socket Test Suite

Unix socket support with path validation

Criteria
Without context
With context

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%

100%

Session Counter with Redis

Database lifecycle management (setup/teardown/cleanup)

Criteria
Without context
With context

Uses redisdb fixture

100%

100%

Relies on automatic cleanup

100%

100%

Test isolation verification

100%

100%

Proper Redis client usage

100%

100%

85%

13%

Redis Configuration Precedence Testing

Three-level configuration hierarchy (factory args, CLI, pytest.ini)

Criteria
Without context
With context

Factory functions used

80%

100%

pytest.ini configuration

100%

100%

Factory argument override

72%

100%

CLI option handling

53%

66%

Precedence verification

40%

33%

90%

-5%

Authenticated Redis Testing Environment

Authentication support (username/password)

Criteria
Without context
With context

Factory Function Usage

83%

66%

Client Factory Usage

100%

100%

Authenticated Connection Test

100%

100%

Authentication Failure Test

100%

100%

100%

Multi-Instance Redis Test Suite

Flexible port allocation strategies

Criteria
Without context
With context

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%

100%

7%

Multi-Instance Redis Test Suite

Multiple Redis instance support

Criteria
Without context
With context

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%

100%

Redis Configuration Validator

Comprehensive error handling (custom exceptions)

Criteria
Without context
With context

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-redis
Evaluated
Agent
Codex

Table of Contents