function CoreRecipesTest::testRecipeHasGenericTest
Test that a recipe has a generic test.
@dataProvider providerRecipeHasGenericTest
Parameters
string $path: The path to the recipe file.
File
-
core/
tests/ Drupal/ Tests/ Core/ Recipe/ CoreRecipesTest.php, line 55
Class
- CoreRecipesTest
- Tests that all core recipes have a generic test.
Namespace
Drupal\Tests\Core\RecipeCode
public function testRecipeHasGenericTest(string $path) : void {
$this->assertFileExists($path . '/tests/src/Functional/GenericTest.php');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.