first look at the directory structure and errors
:
phpunit
Why doesn"t it run?
first look at the directory structure and errors
:
phpunit
Why doesn"t it run?
the namespace of phpunit needs to be introduced in MoneyTest
use\ PHPUnit\ Framework\ PHPUnit_Framework_TestCase
I found the answer. It turned out to be a version problem
5.7.The document should inherit TestCase from the beginning
class StackTest extends PHPUnit\Framework\TestCase;
and my version is 6.0.7, so it should not inherit \ PHPUnit\ Framework\ PHPUnit_Framework_TestCase
, thus solving
so the test is ready
composer install
./vendor/bin/phpunit --bootstrap vendor/autoload.php
Previous: Regularly delete everything at the beginning of the text and ask for help!
Next: How to add shadow effects to other components on top of map components without being obscured by map