mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-09-19 02:04:37 +08:00
365cf71c0aa2d7c699d4ae595748bd939084a8e3
Adds shared fixtures/stubs/templates, 15 mechanically-enforced guardrails (filename casing, ban wrapper.vm direct calls, double assertions, weak matchers, tautologies, debug residue), splits grab-bag util test files by source module, promotes Vue warnings to test failures, fills logout and login-validation gaps in e2e, and replaces networkidle+hard-wait recipes with web-first assertions. Net: 355 unit/component/api/guardrail tests (+98), 36 playwright tests (+11), 80.55% line coverage with 2-3% buffer above tightened thresholds (65/75/78/78).
1. Prepare
gitVisual Studio Codenodejs>= 18, recommended to use 22pnpm, install usingcorepack enable && corepack prepare pnpm@latest --activate(ornpm install -g pnpm)
2. Source code
git clone https://github.com/pnoker/iot-dc3-web.git
3. Develop
cd iot-dc3-web
# install
pnpm install
# run
pnpm dev
Description
IoT DC3 是一个基于 Spring Cloud 的 100% 完全开源的、分布式的物联网(IoT)平台,用于快速开发物联网项目和管理物联设备,是一整套物联系统解决方案。
311 MiB
Languages
Java
75.7%
TypeScript
10.4%
Vue
8.3%
PLpgSQL
3.6%
JavaScript
0.9%
Other
1%