Account created on 10 September 2011, almost 13 years ago
#

Recent comments

🇮🇳India hiramanpatil

@arshadkhan35,

I have tried it but still getting the same error.

Please check my reply here - https://www.drupal.org/project/drupal/issues/3346242#comment-15387854

Were you able to run any contributed module tests?

Thanks,

🇮🇳India hiramanpatil

@benJBmC,
I am using Drupal 10.1.7 version with below PHPUnit configuration.

"require-dev": {
"phpspec/prophecy": "^1.17",
"phpunit/phpunit": "9.5.28",
"symfony/phpunit-bridge": "^7.0"
}

I am trying to run the dev module test but getting errors.

Command - vendor/bin/phpunit web/modules/contrib/devel/tests/src/Functional/DevelControllerTest.php

Output

PHPUnit 9.5.28 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\devel\Functional\DevelControllerTest
E 1 / 1 (100%)

Time: 00:48.149, Memory: 10.00 MB

There was 1 error:

1) Drupal\Tests\devel\Functional\DevelControllerTest::testRouteGeneration
Error: Class "Behat\Mink\Driver\BrowserKitDriver" not found

C:\xampp\htdocs\projects\drupalten\web\core\tests\Drupal\Tests\BrowserTestBase.php:310
C:\xampp\htdocs\projects\drupalten\web\core\tests\Drupal\Tests\BrowserTestBase.php:222
C:\xampp\htdocs\projects\drupalten\web\core\tests\Drupal\Tests\BrowserTestBase.php:370
C:\xampp\htdocs\projects\drupalten\web\modules\contrib\devel\tests\src\Functional\DevelBrowserTestBase.php:43
C:\xampp\htdocs\projects\drupalten\web\modules\contrib\devel\tests\src\Functional\DevelControllerTest.php:57
C:\xampp\htdocs\projects\drupalten\vendor\phpunit\phpunit\src\Framework\TestResult.php:728

ERRORS!
Tests: 1, Assertions: 1, Errors: 1.

Remaining self deprecation notices (1)

1x: The Drupal\Tests\devel\Functional\DevelControllerTest::$modules property must be declared protected. See https://www.drupal.org/node/2909426
1x in DrupalListener::startTest from Drupal\Tests\Listeners

Production build 0.69.0 2024