PHPUnit :: 获取消息:好的,但不完整或跳过测试!没有任何信息发生在哪里
获取消息:
好的,但是不完整或跳过测试!
没有任何信息发生在哪里。 只有:..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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我的一个测试有这个:
因此它被跳过了。
My one test had this:
Hence it was skipped.
我在测试中进行了回声调用,没有任何断言就通过了。消除回声后测试通过。 (将 --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)
输出表明您的第三个测试用例不完整。尝试使用 --verbose 标志运行 phpunit 以输出更多信息。
The output indicates that your third test case is incomplete. Try running phpunit with the --verbose flag to output more information.