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

Datos de origen

Repositorio
causify-ai/helpers
Última actividad en el origen
28 de febrero de 2026 a las 18:01
Idioma detectado de SKILL.md
inglés
Estrellas
146
Forks
162

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
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
Ver en GitHub