Go 提供了 go test 来执行测试,这个命令会在当前package 中寻找符合 *_test.go 的文件,并在文件中寻找符合 TestXxx(*testing.T) {} 、 BenchmarkXxx ...
確定! 回上一頁