简体   繁体   English

Pytest bdd,功能不再识别

[英]Pytest bdd, the features aren't recognized anymore

I have a strange case.我有一个奇怪的案例。 I can't run my pytest anymore because he doesn't found the features (who are there btw).我不能再运行我的 pytest,因为他没有找到这些功能(顺便说一句,谁在那里)。

Here is the error message and the proof that the files are there.这是错误消息和文件存在的证明。

Thx谢谢在此处输入图像描述

It would help to see the command you used to run pytest as well as the working directory这将有助于查看您用于运行 pytest 的命令以及工作目录

I run python -m pytest and the working directory is the one on the screen (ie./steps_def)我运行 python -m pytest 并且工作目录是屏幕上的一个(即/steps_def)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM