feat: 添加集成测试套件 (Integration Testing Stack)#353
feat: 添加集成测试套件 (Integration Testing Stack)#353sungdark wants to merge 4 commits intoillbnm:masterfrom
Conversation
- Complete docker-compose configuration with healthchecks - Add .env.example for environment configuration - Add comprehensive README documentation following the project pattern - Includes all required security hardening: no-new-privileges, watchtower auto-update enabled - Ready for deployment
实现 Issue illbnm#7/Home Automation Stack 功能: 服务清单: - Home Assistant: 智能家居中枢 - Node-RED: 流程自动化 - Mosquitto: MQTT 消息代理 (websockets + auth + ACL) - Zigbee2MQTT: Zigbee 网关 - ESPHome: IoT 设备编程 核心功能: - Home Assistant: MQTT auto discovery, ZHA, Node-RED/ESPHome 集成, 预置自动化示例 - Node-RED: MQTT 桥接 HA, 预置流程, 持久化存储 - Mosquitto: websockets 9001, 用户认证, ACL 规则 - Zigbee2MQTT: MQTT TLS, 前端, network key - ESPHome: API 加密, OTA 更新 包含配置文件: - config/homeassistant/ (配置, MQTT, 自动化示例) - config/node-red/ (settings.js, flows.json) - config/zigbee2mqtt/ (configuration.yaml) - config/esphome/ (esphome.yaml, secrets.yaml) - scripts/setup-home-automation.sh (MQTT 认证配置) - stacks/home-automation/README.md - .env.example (新增 Home Automation 环境变量)
Implements comprehensive integration testing for all HomeLab Stack services. Features: - Modular test framework with lib/assert.sh, lib/docker.sh, lib/report.sh - Container health and HTTP endpoint tests for all stacks - Service interconnectivity tests (Prometheus->cAdvisor, Grafana->Prometheus) - OIDC/SSO flow E2E tests - Backup/restore capability tests - GitHub Actions CI workflow for automated testing - CI test environment with docker-compose.test.yml Test coverage: - base: Traefik, Portainer, Watchtower, Socket Proxy - media: Jellyfin, Sonarr, Radarr, Prowlarr, qBittorrent - storage: Nextcloud, MinIO, FileBrowser - monitoring: Prometheus, Grafana, Loki, Alertmanager, cAdvisor, Node Exporter, Uptime Kuma - network: AdGuard Home, Nginx Proxy Manager - productivity: Gitea, Vaultwarden, Outline, BookStack - ai: Ollama, Open WebUI, Stable Diffusion - sso: Authentik, PostgreSQL, Redis - databases: PostgreSQL, Redis, MariaDB - notifications: Ntfy, Apprise - dashboard: Homarr, Homepage - home-automation: Home Assistant, Node-RED, Mosquitto, Zigbee2MQTT Usage: ./tests/run-tests.sh --all # Run all tests ./tests/run-tests.sh --stack base # Run specific stack ./tests/run-tests.sh --e2e # Run E2E tests only ./tests/run-tests.sh --json out.json # JSON output
|
我来认领 结算信息
|
🦞 Bounty ClaimI would like to claim this bounty! Wallet Addresses:
I will start working on this immediately. Expected completion: 3-5 days. Let me know if there are any specific requirements! 🚀 |
5 similar comments
🦞 Bounty ClaimI would like to claim this bounty! Wallet Addresses:
I will start working on this immediately. Expected completion: 3-5 days. Let me know if there are any specific requirements! 🚀 |
🦞 Bounty ClaimI would like to claim this bounty! Wallet Addresses:
I will start working on this immediately. Expected completion: 3-5 days. Let me know if there are any specific requirements! 🚀 |
🦞 Bounty ClaimI would like to claim this bounty! Wallet Addresses:
I will start working on this immediately. Expected completion: 3-5 days. Let me know if there are any specific requirements! 🚀 |
🦞 Bounty ClaimI would like to claim this bounty! Wallet Addresses:
I will start working on this immediately. Expected completion: 3-5 days. Let me know if there are any specific requirements! 🚀 |
🦞 Bounty ClaimI would like to claim this bounty! Wallet Addresses:
I will start working on this immediately. Expected completion: 3-5 days. Let me know if there are any specific requirements! 🚀 |
|
我来认领 |
1 similar comment
|
我来认领 |
|
我来认领此任务! |
🦞 BOUNTY CLAIMClaimer: 大眼 (bigeye) - GitHub Bounty Hunter Wallet Address:
Relevant Experience:
Why Me:
Enhancements I Can Add:
Timeline:
Ready to start immediately! Looking forward to working with the Homelab Stack team. 🚀 |
🦞 Bounty ClaimI would like to claim this bounty! Wallet Addresses:
I will start working on this immediately. Expected completion: 3-5 days. Let me know if there are any specific requirements! 🚀 |
PR 描述
此 PR 为 HomeLab Stack 添加了完整的集成测试套件。
功能特性
模块化测试框架
容器健康测试 (Level 1)
HTTP 端点测试 (Level 2)
服务间互通测试 (Level 3)
E2E 测试
测试覆盖
使用方法
输出示例
相关 Issue
结算信息
我来认领