#author("2023-03-10T00:45:07+00:00","default:admin","admin")
#author("2023-03-10T00:53:52+00:00","default:admin","admin")
-[[Goのテストに入門してみよう!:https://future-architect.github.io/articles/20200601/]]
-[[Go言語でテストコードを書いてみよう:https://note.com/rescuenow_hr/n/n9ed7caf4646d]]
-[[テストの書き方(Golandで作成, 並列実行, 前後に処理追加):https://www.wakuwakubank.com/posts/866-go-test/]]
-[[Goでテストのフィクスチャをいい感じに書く:https://engineering.mercari.com/blog/entry/20220411-42fc0ba69c/]]
-[[Goのテストフレームワークを比較してみた:https://techblog.kayac.com/2022-group-calendar-go-test]]

*標準 [#f56f3a58]
-テストコード *_test.go を作成
-テスト実行
 $ go test

*[[go-cmp:https://github.com/google/go-cmp]] [#y757df22]

*[[stretchr/testify:https://github.com/stretchr/testify]] [#y68a40e9]


トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS