Comments (7)
感觉这里有坑,首次运行得到tests目录下执行命令行:pytest,之后会有.pytest_cache文件生成;然后再回到根目录,执行pytest才行。
这里能不能优化下,首次运行,没有.pytest_cache。在根目录也能执行pytest
from tep.
from tep.
还是有坑,首次运行会有这个问题 @dongfanger
from tep.
from tep.
from tep.
好的,感谢反馈。
感觉我快成了小白鼠
from tep.
@zhangwk02 感谢提issue呀,以后我得自测充分点再提交代码了。
这次测了首次运行(根目录和tests目录)和重复多次运行,疏漏了引用fixture这里的依赖问题。
from tep.
Related Issues (6)
- 学习 HOT 1
- pytest -n 5 --tep-reports test_*.py, but the report is empty, why? HOT 3
- windows 执行pytest --tep-reports生成报告,查看用例执行详情看到有stderr错误,好像是loguru没关掉造成的 HOT 4
- 0.8.5版本,conftest;自动导入fixtures下面的模块,函数没有生效 HOT 2
- 命令行之行pytest报错:/lib/python3.9/site-packages/tep/fixture.py, line 35 @pytest.fixture(scope="session") def url(env_vars): E fixture 'env_vars' not found HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tep.