PHPUnit :: 获取消息:好的,但不完整或跳过测试!没有任何信息发生在哪里

发布于 2024-09-19 02:51:11 字数 123 浏览 2 评论 0原文

获取消息:

好的,但是不完整或跳过测试!

没有任何信息发生在哪里。 只有:..I........

我怎样才能找到问题出在哪里?

谢谢

Get message:

OK, but incomplete or skipped tests!

without any information where is happen.
Only the: ..I........

How can i find where is the problem?

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

潇烟暮雨 2024-09-26 02:51:27

我的一个测试有这个:

$this->markTestSkipped();

因此它被跳过了。

My one test had this:

$this->markTestSkipped();

Hence it was skipped.

寂寞花火° 2024-09-26 02:51:25

我在测试中进行了回声调用,没有任何断言就通过了。消除回声后测试通过。 (将 --verbose 传递给测试运行程序时没有得到任何信息)

i had an echo call in a test that passed without any assertions. The test passed, after removing the echo. (didn't get any info upon passing --verbose to the test runner)

空心空情空意 2024-09-26 02:51:20

输出表明您的第三个测试用例不完整。尝试使用 --verbose 标志运行 phpunit 以输出更多信息。

The output indicates that your third test case is incomplete. Try running phpunit with the --verbose flag to output more information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文