diff --git a/core/core.api.php b/core/core.api.php index da88f70..802252b 100644 --- a/core/core.api.php +++ b/core/core.api.php @@ -1142,12 +1142,15 @@ * subset of the functionality. Each method runs in a new, isolated test * environment, so it can only rely on the setUp() method, not what has * been set up by other test methods. + * For more details, see: + * - https://www.drupal.org/docs/8/phpunit/phpunit-browser-test-tutorial for + * a full tutorial on how to write functional PHPUnit tests for Drupal. * * @section write_jsfunctional_phpunit Write functional JavaScript tests (phpunit) * To write a functional test that relies on JavaScript: * - Extend \Drupal\FunctionalJavaScriptTests\JavascriptTestBase. * - Place the test into the yourmodule/tests/src/FunctionalJavascript/ - * directory and use the Drupal\Tests\yourmodule\FunctionalJavascript/ + * directory and use the Drupal\Tests\yourmodule\FunctionalJavascript\ * namespace. * - Add a @group annotation. Use yourmodule as the group name if the test does * not belong to another larger group.