go test 命令介紹

go test go test是go語言自帶的測試工具,其中包含的是兩類,單元測試和性能測試 經過go help test能夠看到go test的使用說明: 格式形如: go test [-c] [-i] [build flags] [packages] [flags for test binary] 參數解讀: -c : 編譯go test成爲可執行的二進制文件,可是不運行測試。 -i : 安裝
相關文章
相關標籤/搜索