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 の言語
英語
スター
150
フォーク
165

インストール方法

デフォルトでは、最初にソースを確認する 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で見る