function TestDiscoveryTest::testTestInfoParserMissingGroup
@covers ::getTestInfo
      
    
File
- 
              core/tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php, line 208 
Class
- TestDiscoveryTest
- @coversDefaultClass \Drupal\Core\Test\TestDiscovery[[api-linebreak]] @group Test
Namespace
Drupal\Tests\Core\TestCode
public function testTestInfoParserMissingGroup() : void {
  $classname = 'Drupal\\KernelTests\\field\\BulkDeleteTest';
  $doc_comment = <<<EOT
  /**
   * Bulk delete storages and fields, and clean up afterwards.
   */
  EOT;
  $this->expectException(MissingGroupException::class);
  $this->expectExceptionMessage('Missing @group annotation in Drupal\\KernelTests\\field\\BulkDeleteTest');
  TestDiscovery::getTestInfo($classname, $doc_comment);
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
