go test 遇到失败用例会exit 1,这个时候可以用 go test | tee x.json 或者|| 加其他命令忽略这个异常。
评论