开发者交流平台
开发者交流平台

通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。

bj
登录
  • 友情链接
站内
pytest

pytest

go

如何获取pytest装饰的测试函数名称和参数在pytest的装置中。

英文: How to retrive decorated test function name and arguments in a pytest fixture 问题 以下是翻译好的部分: 我想要手...
huangapple 2023年4月11日131评论pytest python
go

如何在测试之间暂停执行常见任务,然后继续进行测试断言。

英文: How to pause between tests to do a common task, then resume for assert in tests 问题 目前我有一个场景,每个测试...
huangapple 2023年4月10日159评论pytest python
go

如何使 PyTest 使用父目录的 `conftest.py` 文件。

英文: How to make PyTest use the `conftest.py` of a parent directory 问题 I am working on a suite of tes...
huangapple 2023年4月7日137评论python python-3.x
go

pytest与@cache结合使用时无法按预期工作。

英文: pytest does not work as expected combined with @cache 问题 I understand your request. Here's the t...
huangapple 2023年4月6日133评论pytest python
go

Pytest AttributeError: ‘TestMyTest’ object has no attribute

英文: Pytest AttributeError: 'TestMyTest' object has no attribute 问题 当运行测试时,为什么会出现一些测试失败并出现异常 ...
huangapple 2023年4月4日140评论pytest python
go

如何将函数和类导入conftest.py?或者如何将fixtures和类导入conftest.py?

英文: How do I import functions and classes into conftest.py? Or how do I import fixtures and classes ...
huangapple 2023年4月4日144评论flask python
go

'pytest –version' works, but 'pytest tests' command not recognized with Bash in Github Actions

英文: 'pytest --version' works, but 'pytest tests' command not recognized with Bash in...
huangapple 2023年3月31日151评论bash python
go

如何让 pytest 不删除成功的测试目录

英文: How to get pytest to not delete successful test directories 问题 I'm using pytest and it's been gr...
huangapple 2023年3月31日136评论pytest python
go

基于选项文本的下拉选择框的期望值

英文: Expect value of a dropdown select based on option text 问题 我们有一个下拉选择框 <select id=&quot...
huangapple 2023年3月9日231评论pytest python
go

Pytest 在 pre-commit 中运行两次。

英文: Pytest runs twice in pre-commit 问题 似乎 pre-commit 会两次运行 pytest 测试。如何重现: 安装 pytest、pytest-cov 和 pr...
huangapple 2023年3月8日111评论pre-commit.com pytest
10

文章导航

1 … 3 4 5 6 7 8 9 10
name
开发者交流平台
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
文章117266 留言 4 访客17080255

热门标签

arrays pandas sql python c# android css html java node.js json flutter spring r reactjs go javascript spring-boot c++ typescript

悟已往之不谏,知来者之可追!

今日
00%
已00小时
本周
00%
已过00天
本月
00%
已过00天
今年
00%
已是00月

Copyright ©  开发者交流平台 版权所有.

闽 ICP 备 2022019110 号 - 1
  • 开发者交流平台

    本页二维码