删除
This commit is contained in:
1 parent
461958e16b
commit
fe83b6c8ff
4 files changed
-28
No files matched your search
@@ -1,10 +0,0 @@
|
|||||||
---
|
|
||||||
title: DateTest
|
|
||||||
date: null
|
|
||||||
slug: date-test
|
|
||||||
draft: true
|
|
||||||
author: qunlin
|
|
||||||
ai_comment: >-
|
|
||||||
日期自动填充的测试逻辑需要区分明确边界条件:用户主动清除时的回滚机制、跨时区同步时的基准时间、以及闰秒等边缘情况。建议补充不同日历系统(如农历)的兼容性测试方案,这往往是被忽略的技术债。从实现角度看,用不可变时间戳作中间层能规避大部分时区陷阱——就像用UTF-8处理编码问题那样一劳永逸。
|
|
||||||
---
|
|
||||||
Testing date auto-fill.
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
---
|
|
||||||
title: Go Test Post
|
|
||||||
date: null
|
|
||||||
slug: go-test-post
|
|
||||||
draft: true
|
|
||||||
categories:
|
|
||||||
- test
|
|
||||||
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.
|
|
||||||
|
|
||||||
It works!
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 194 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 163 KiB |
Reference in new issue
Block a user