首页/ AI 技能 / @skilllib/skill-2014279383417040898
Skill站外收录 @skilllib/skill-2014279383417040898

running_tests

提供代码功能与正确性的验证能力,支持按需执行特定测试用例或排除耗时项的批量校验,确保修改前后行为一致,适用于开发迭代与重构过程中的质量保障。

0.0 (0) 715 次安装 原作者 编程导航
收录于 2026-01-22
测试与安全 AI 技能

Skills.MD

# Running Tests - DO NOT RUN ALL TESTS AT ONCE UNLESS EXPLICITLY INSTRUCTED TO DO SO. - Prefer running only the tests relevant to the code you have modified or added. - Use `pytest` to run tests from the repository root, for example: ```bash pytest nimare/tests/test_annotate_gclda.py::test_gclda_symmetric ``` - For a slightly broader check without performance-heavy tests, mirror the `Makefile` behavior: ```bash pytest -m "not performance_estimators and not performance_correctors and not performance_smoke and not cbmr_importerror" --cov=nimare nimare ``` - Run tests before and after significant refactors or API changes to confirm behavior is preserved.

评论 0

还没有评论,来抢沙发。