基于大模型 Agent 的智能测试数据生成与隐私脱敏平台,实现:
- 数据库 Schema 分析
- 测试数据智能生成
- 隐私字段识别
- 数据脱敏
- 数据质量评估
- AI 需求分析
- 测试数据生成
- 多表关联生成
- 隐私脱敏
- 数据质量评估
- 数据导出
- Vue 3
- Element Plus
- Vite
- Pinia
- ECharts
- Spring Boot
- MyBatis-Plus
- MySQL
- Flyway
- JWT
- Python FastAPI
- LLM Agent
- DeepSeek / Qwen
- ReAct Tool Calling
- Docker Compose
- Nginx
用户需求
↓
Agent 分析
↓
Schema 解析
↓
测试数据生成
↓
隐私脱敏
↓
质量评估
↓
数据导出
cp smart-testdata-platform/.env.example .envcd smart-testdata-platform
docker compose up -d mysql后端启动时会通过 Flyway 自动执行数据库迁移。
cd smart-testdata-platform/backend
mvn spring-boot:run启动前确保 JWT_SECRET、AES_KEY 等环境变量已配置。
cd smart-testdata-platform/ai-service
pip install -r requirements.txt
python -m uvicorn app.main:app --reload --port 8000cd smart-testdata-platform/frontend
npm install
npm run dev浏览器访问:
http://localhost:5173
- JUnit 5
- MockMvc
- Integration Test
- JaCoCo
cd smart-testdata-platform/backend
mvn test覆盖率报告:
smart-testdata-platform/backend/target/site/jacoco/index.html
- pytest
- FastAPI TestClient
- pytest-cov
cd smart-testdata-platform/ai-service
python -m pytest tests/覆盖率报告:
smart-testdata-platform/ai-service/htmlcov/index.html
- Vitest
cd smart-testdata-platform/frontend
npm test