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 021ea30 4 files · 26.7 KB Updated

File contents

scylladb/coodie/tree/main/.github/skills/test-refactoring commit 021ea30bfc

Frequently asked questions

npx skillmds@latest add scylladb/test-refactoring