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

来源信息

仓库
causify-ai/helpers
最近来源活动
2026年2月28日 18:01
检测到的 SKILL.md 语言
英语
星标
146
分支
162

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
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
在 GitHub 查看