feat: Python(Locust) + Go(boomer) 混合压测框架(演示版)

This commit is contained in:
WbiubiuW
2026-09-22 21:35:03 +08:00
commit 26cdd4b5c1
63 changed files with 6171 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
"""pytest 路径装配:让 tests/ 能直接 import target/ 与 scenarios/ 下的模块。"""
import os
import sys
_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
for _d in (os.path.join(_ROOT, "target"), os.path.join(_ROOT, "scenarios")):
if _d not in sys.path:
sys.path.insert(0, _d)