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%

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses pytest-redis package features to handle database lifecycle management, specifically automatic cleanup, test isolation, and proper fixture usage for Redis-based testing.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses redisdb fixture",
      "description": "Test file uses the built-in `redisdb` fixture from pytest-redis to obtain a Redis client, rather than creating clients manually or using other fixtures",
      "max_score": 25
    },
    {
      "name": "Relies on automatic cleanup",
      "description": "Tests rely on pytest-redis's automatic database cleanup (flushall) between tests rather than manually implementing cleanup in teardown methods or fixtures",
      "max_score": 30
    },
    {
      "name": "Test isolation verification",
      "description": "Includes test(s) that specifically verify test isolation by demonstrating that data from one test does not persist into subsequent tests, validating the automatic cleanup functionality",
      "max_score": 25
    },
    {
      "name": "Proper Redis client usage",
      "description": "Correctly uses the Redis client methods (set, get, incr, keys, or similar) in the SessionCounter implementation and passes the client through the constructor as specified",
      "max_score": 20
    }
  ]
}