Decide on a naming convention for test type, and update example phpunit.xml
Created by: jhedstrom
Is your feature request related to a problem? Please describe.
It would be good to standardize on a naming convention for this type of tests so they can sit alongside existing test types in custom modules (Unit
, Kernel
, Functional
, and FunctionalJavascript
).
Describe the solution you'd like
@weitzman has been using ExistingSite
, which seems pretty accurate.
Other candidates?
Once decided, we should update docs/phpunit.xml
with something that demonstrates how to run these side-by-side the other types of tests:
<testsuites>
...
<testsuite name="functionalJavascript">
<directory>./web/modules/custom/*/tests/src/FunctionalJavascript</directory>
</testsuite>
<testsuite name="existingSite">
<directory>./web/modules/custom/*/tests/src/ExistingSite</directory>
</testsuite>
</testsuites>