问题标签 [pytest-order]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
29 浏览

python - 无法使 pytest 依赖项适用于不同的模块

按照这个答案文档,我试图让测试在文件之间相互依赖:

test_connectivity.py

test_services_up.py

文件夹结构:

输出:

如何不跳过依赖测试?