This website requires JavaScript.
Explore
Help
Sign In
Bruce
/
CraftKit
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
1d40c477f69ef4dae8562d4359065833e0c9d205
CraftKit
/
plugins
/
python
/
skills
/
profile
/
references
/
testing
/
index.md
T
bruce
6f9a7466f9
feat(language): 增加 Java 与 Python 技术提供方
2026-09-08 10:53:41 +08:00
412 B
Raw
Blame
History
Python 后端测试资料
优先使用项目已配置的 pytest 或 unittest,不自行引入测试框架。
异步代码只有在项目已配置对应插件和事件循环策略时使用异步测试写法。
测试客户端、依赖覆盖和数据库隔离方式必须匹配当前 FastAPI 及相关依赖版本。
外部依赖使用项目已有替身或隔离边界,不连接真实生产资源。
Reference in new issue
View Git Blame
Copy Permalink