ツイート ブックマーク 2/21に株式会社ヒトメディアさんのthe p@rkでSymfonyもくもく会#4を開催しました。 もくもく会の詳しい内容はSymfonyもくもく会 #4 を開催しましたで確認いただければと思います。 さて今回僕は珍しくLTをしました。 コントローラのテストについてってタイトルで発表しました。 まあいつも通りうまくLTはできませんでしたが、やってよかったのかなぁとは思います。 なぜコントローラのテストについてという話をしたのか 僕は昔からテストが苦手で、とくにコントローラのテストなんて1行も書かないタイプでした。 しかし、転職を機にこのままではいけないと思ったのでコントローラのテストどう書こうか結構迷いました。 ユニットテスト的にモックを使ってコントローラのテストをしたかったんですが、すごく悩みました。 どうやろうかと悩んだ末に出した答えとしてコントローラは継承しな