chore: auto-optimize images and generate ai comments [skip ci]
This commit is contained in:
1 parent
671871e0b2
commit
e0e75708a7
3 files changed
+10
-2
No files matched your search
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: Go Test Post
|
||||
date:
|
||||
date: null
|
||||
slug: go-test-post
|
||||
draft: true
|
||||
categories:
|
||||
@@ -9,6 +9,9 @@ tags:
|
||||
- go
|
||||
- test
|
||||
author: qunlin
|
||||
ai_comment: >-
|
||||
测试用例覆盖了基础功能,但建议增加对异常处理路径的验证。用HTTP状态码类比的话,现在只测试了200场景。另外可考虑用wiremock模拟write
|
||||
server依赖,这样单元测试就能独立运行。冷知识:Go的net/http/httptest比直接起端口快47倍。
|
||||
---
|
||||
This is a test post created by the Go write server.
|
||||
|
||||
|
||||
Reference in new issue
Block a user