How to run single test method with phpunit?

前端 未结 13 2099
猫巷女王i
猫巷女王i 2020-11-30 16:13

I am struggling to run a single test method named testSaveAndDrop in the file escalation/EscalationGroupTest.php with phpunit. I tried

相关标签:
13条回答
  • 2020-11-30 17:12

    Following command will execute exactly testSaveAndDrop test.

    phpunit --filter '/::testSaveAndDrop$/' escalation/EscalationGroupTest.php
    
    0 讨论(0)
提交回复
热议问题