Writing Automated tests in Drupal 9
Submitted by system on Thu, 05/28/2020 - 19:17This is a start.
Install PHP Unit: PHPUnit8.4+ for Drupal 9
composer require --dev phpunit/phpunit ^8.4
For the current portal, add core-dev option
composer require 'drupal/core-dev:^9.5'
composer update
Drupal requires Prophecy PhpUnit when using PHPUnit 9 or greater.