gitwithravish's avatar

Cannot open test file

Can someone explain this?

This fails

vendor/bin/phpunit Tests/Unit/ProductTest.php

// Cannot open file "/tests/unit/ProductTest.php"

This works

vendor/bin/phpunit --filter testAProductHasName
0 likes
1 reply
Sinnbeck's avatar
Sinnbeck
Best Answer
Level 102

Most likely lower case t in tests

vendor/bin/phpunit tests/Unit/ProductTest.php
1 like

Please or to participate in this conversation.