Skip to main content
skill CX Codex

run-python-tests — Claude Code skill: tests and setup

The run-python-tests skill runs end-to-end Python tests after code changes and gathers failure details. Use it after the build and Rust test stages pass.

no license ★ 6,244 updated 2026-10-29

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add RediSearch/RediSearch --skill run-python-tests -a claude-code
Open on GitHub

What run-python-tests does

The skill starts Python tests through ./build.sh RUN_PYTEST ENABLE_ASSERT=1. Its first pass uses TEST_TIMEOUT=20 for quick feedback. You can target the whole suite, one file, several files, or one test with the filename:test_name form.

A failed test produces runner output and a log under tests/pytests/logs. The skill then prepares a report with passed, failed, and skipped test counts, Python-side error messages, server stack details, and each log path. Rust panics include the Rust message and backtrace; C crashes include the C backtrace.

Run it after the build and Rust tests have passed. If a quick run times out, related tests can be rerun without TEST_TIMEOUT; when relevance is unclear, the skill asks whether to run them again without the limit.

What it helps with

  • run the full end-to-end Python suite
  • check tests from a selected file
  • rerun one test without a timeout
  • trace a Redis server failure
  • prepare a test result report

Example prompts for the agent

  • Run a quick pass of all Python tests after my changes.
  • Check test_query_thread_crash from test_crash without a time limit.
  • Run the tests from test_crash and test_gc, then prepare a failure report.

How to install run-python-tests

1Skills CLI (Vercel)

npx skills add RediSearch/RediSearch --skill run-python-tests -a claude-code

2Manually: put the files in place

~/.claude/skills/run-python-tests/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/run-python-tests/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about run-python-tests

How do I install run-python-tests in Claude Code?

Run npx skills add RediSearch/RediSearch --skill run-python-tests -a claude-code, then check ~/.claude/skills/run-python-tests/SKILL.md.

What does run-python-tests do?

It runs end-to-end Python tests after changes, accepts file or test targets, and builds a report from the results. Test logs are stored under tests/pytests/logs.

What is TEST_TIMEOUT=20 used for?

It limits each test during the quick verification pass. A timed-out test related to the current change can be run again without that setting.

Similar skills

All skills for Testing and QA →

From the same set4

Project sponsors

Companies that keep this analytics open