or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/pytest-redis@3.1.x
tile.json

tessl/pypi-pytest-redis

tessl install tessl/pypi-pytest-redis@3.1.0

Redis 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%

task.mdevals/scenario-2/

Authenticated Redis Testing Environment

A test suite for a cache service that requires Redis with authentication enabled.

Overview

Build a testing infrastructure that creates a Redis instance with authentication configured. The test environment should use username and password authentication to ensure the cache service correctly handles authenticated Redis connections.

Capabilities

Authenticated Connection Tests

  • Test that successfully connects to Redis using username "cacheuser" and password "securepass123", then sets key "user:1" to value "Alice" and retrieves it @test
  • Test that verifies connection fails with an authentication error when connecting to the authenticated Redis without providing credentials @test

Implementation

@generates

Test File

Create a test file named test_authenticated_redis.py that implements the test cases described above

Dependencies { .dependencies }

pytest-redis { .dependency }

Provides fixtures and fixture factories for testing code that depends on Redis, including support for authentication configuration.