Skip to main content

testingmove-test-code

Move test classes from a test file into the correct separate test files based on what they test

Source facts

Repository
causify-ai/helpers
Last source activity
February 28, 2026 at 18:01
Detected SKILL.md language
English
Stars
146
Forks
162

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
testing.move_test_code
description
Move test classes from a test file into the correct separate test files based on what they test
- I will pass you a file with unit tests test_file.py ## Step 1 - Find the functions that are tested in the file `test_file.py` - Prepare a plan that shows a mapping between test classes and file that contains the functions tested by each class ## Step 2 - Implement this plan - Using the --append option in `split_in_files.py` - Not preserving the input file so it's an actual move of code from one file to another - Modify `test_file.py` to move the code to the right direction - Write the `split_in_files.py` command
View on GitHub