Files
junhong_cmp_fiber/tests/hurl/Makefile
huang 00cae60fe1
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m14s
chore: 删除卡价格验证 hurl 测试文件
2026-03-31 15:26:09 +08:00

25 lines
604 B
Makefile

SHELL := /bin/bash
ENV ?= dev
HURL_OPTS := --variables-file env/$(ENV).env --file-root . --test
.PHONY: test test-flows test-modules test-negative report clean
test: ## 运行所有测试
hurl $(HURL_OPTS) .
test-flows: ## 运行业务流程测试
hurl $(HURL_OPTS) flows/
test-modules: ## 运行模块接口测试
hurl $(HURL_OPTS) modules/
test-negative: ## 运行异常测试
hurl $(HURL_OPTS) negative/
report: ## 生成 HTML 报告
mkdir -p build/report
hurl $(HURL_OPTS) --report-html build/report/ .
clean: ## 清理报告
rm -rf build/report