単体テストに名前を割り当てて、その実行として表示できるかどうか疑問に思っています。したがって、複数のテストがすべて実行されている場合、失敗するテストの名前をすばやく見つけることができます
したがって、次のようなものを追加します(これは、説明のために下に置く実際のコードではありません)。コンソールに出力しようとしている 1.1 および 1.2 というラベルの付いた部分
$this->assertEquals(1, 
   $crawler->filter('h1:contains("About symblog")')->count(), 
  '1.1 Test one some description'
);
$this->assertEquals(1, 
  $crawler->filter('h2:contains("' . $blogTitle .'")')->count(), 
  '1.2 Another test'
);
どうすればいいのかわかりません。以下実際のコード
    public function testIndex()
    {
        $client = static::createClient();
        $crawler = $client->request('GET', '/blogger/');
        // Check there are some blog entries on the page
        $this->assertTrue($crawler->filter('article.blog')->count() > 0);
        // Find the first link, get the title, ensure this is loaded on the next page
        $blogLink   = $crawler->filter('article.blog h2 a')->first();
        $blogTitle  = $blogLink->text();
        $crawler    = $client->click($blogLink->link());
        // Check the h2 has the blog title in it
        $this->assertEquals(1, $crawler->filter('h2:contains("' . $blogTitle .'")')->count());
    }
