ブックマーク / scene-si.org (1)

  • Next level Go testing - Tit Petric

    Go makes it very easy to write tests. In fact, the test tool is built in the standard toolchain, and you can just run go test to run your tests, without installing extra dependencies or anything else. The testing package is part of the standard library, and it’s use, I’m happy to observe, is pretty wide spread. As you’re writing your service implementations in Go, hopefully your test coverage is g

    Next level Go testing - Tit Petric
    withnic
    withnic 2019/04/16
    testをbuildタグで分けようか検討していた自分にとてもタイムリーな内容。あとShortは知らなかった。
  • 1