Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我 [WARN] Module 'module_name' was not imported by the covered tests在 pybuild python 覆盖插件中升级时遇到错误。
[WARN] Module 'module_name' was not imported by the covered tests
我在覆盖率报告中看不到我的脚本,并且构建成功,覆盖率高,__init__.py脚本覆盖率为 100%。
__init__.py
我已经为我的一些模块编写了一些单元测试并在pyunit. 但覆盖率报告不包含该信息。当我禁用unittesting所有脚本时生成报告。
pyunit
unittesting
这有什么问题。