タグ

goとtestに関するHashのブックマーク (2)

  • GolangTestNight(Gunosy.go #10)に参加してきた - 絶品ゆどうふのタレ

    http://gunosygo.connpass.com/event/8485/ Goのテストに関する話を聞いてきました。 テスト周りは正直まだまとめ記事読んだ程度しかキャッチアップできていなかったので、周囲がどんな方針でテストしているか、とかも含めて勉強したいと思っていたところ、ちょうどいいタイミングで勉強会があったので参加してきました。 まとめと感想 先に。 みんなわりと、素直にGoの用意した仕組みに則ってやってる。 とはいえAssertionないのつらいよね、とか、mockの再実装辛いよね、というのは皆思ってるみたい。 Web APIで使ってます、というパターン多いみたい。 最終的に懇親会ではインフラの方とopsworksの話で盛り上がってた(ノ∀`) というわけで、以下メモ。資料URLが見つかったものは貼ってます(`・ω・´) Goのテストの基 t_matsuwitterさん そ

    GolangTestNight(Gunosy.go #10)に参加してきた - 絶品ゆどうふのタレ
  • Go Testing Toolbox

    A conglomeration of testing tools, from Autotest to Vagrant. Published on September 28, 2013. Toolbox sans box — this is not whac-a-gopher. Let’s explore some of the tools available for testing our Go code. Unit Testing Go has testing baked in. Below we contrast the standard testing package with Gustavo Niemeyer’s popular gocheck library: // with testing if !reflect.DeepEqual(value, 42) { t.Errorf

    Hash
    Hash 2014/08/29
  • 1