小编p3t*_*3t3的帖子

具有单元和集成测试的 python 项目的典型文件夹结构?

使用的典型结构和路径/导入约定是什么?有没有人有代表性的python项目的链接?

project.scratch/
    project/
        scratch/
            __init__.py
            dostuff.py
            tests/
                unit/
                    test_dostuff.py
                integration/
                    test_integration.py
Run Code Online (Sandbox Code Playgroud)

python unit-testing

5
推荐指数
2
解决办法
3636
查看次数

标签 统计

python ×1

unit-testing ×1