【问题标题】:C:\phpunittest>./vendor/bin/phpunit commnd is not workingC:\phpunit test>./vendor/bin/phpunit 命令不起作用
【发布时间】:2020-01-05 00:37:14
【问题描述】:

当我在 cmd 上运行 C:\phpunittest>./vendor/bin/phpunit 时,它不能以预期的方式工作。它显示 '.'不被识别为内部或外部命令, 控制台上可运行的程序或批处理文件。我现在该怎么办?

【问题讨论】:

  • 尝试使用.\vendor\bin\phpunit 或简单地使用vendor\bin\phpunit(同时验证该文件是否存在于目录中)。

标签: phpunit


【解决方案1】:

试试

.\vendor\bin\phpunit 

或者干脆

vendor\bin\phpunit

【讨论】:

    猜你喜欢
    • 2016-11-20
    • 2016-04-18
    • 2021-03-18
    • 2013-09-15
    • 2021-07-30
    • 2014-06-07
    • 2018-04-29
    • 1970-01-01
    • 2017-05-16
    相关资源
    最近更新 更多