Test Refactoring

Guides refactoring of Python test suites to reduce duplication using pytest.mark.parametrize, split large monolithic test files into focused modules, and deduplicate mirrored sync/async test classes. Use when test files exceed 400 lines, when multiple test functions share identical structure with different inputs, or when sync and async test classes are copy-pasted mirrors of each other.

scylladb Updated 72 repo stars

File contents

scylladb/coodie commit 021ea30bfc

Frequently asked questions

npx get-skill add scylladb/test-refactoring