DeployHelper/internal/example_test.go

18 lines
332 B
Go
Raw Normal View History

2025-08-01 16:38:08 +08:00
package test
import (
"testing"
)
// TestSetup 是测试设置函数
func TestSetup(t *testing.T) {
// 这里可以添加测试前的设置代码
t.Log("测试环境设置")
}
// TestTeardown 是测试清理函数
func TestTeardown(t *testing.T) {
// 这里可以添加测试后的清理代码
t.Log("测试环境清理")
}