Closed prondubuisi closed 2 weeks ago
Could you provide a bit more information? What error? What example exactly? It would help a lot
Could you provide a bit more information? What error? What example exactly? It would help a lot
I thought I added description, let me do that ASAP
I am following the BDD examples on Quick guide and I ran into some errors this is what my composer.json looks like
Code sample from quick start page
First error is
Fatal error: Class 'PHPUnit_Framework_Assert' not found (Behat\Testwork\Call\Exception\FatalThrowableError)
This is the case because
PHPUnit_Framework_Assert
used in methodtheOverallBasketPriceShouldBePs
and else where is not defined or imported, this can be solved by adding the lineuse PHPUnit\Framework\Assert as PHPUnit_Framework_Assert;
Just below the import statementsI would like to work on this issue if it is confirmed Note I installed PHPUnit with
composer require --dev phpunit/phpunit