pnoker 365cf71c0a test: harden test infrastructure to A-grade with fixtures, stubs, guardrails, and e2e auth coverage
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).
2026-05-19 19:01:15 +08:00
2026-05-13 17:00:11 +08:00
2026-05-19 00:39:34 +08:00

1. Prepare

  • git
  • Visual Studio Code
  • nodejs >= 18, recommended to use 22
  • pnpm, install using corepack enable && corepack prepare pnpm@latest --activate (or npm 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
S
Description
IoT DC3 是一个基于 Spring Cloud 的 100% 完全开源的、分布式的物联网(IoT)平台,用于快速开发物联网项目和管理物联设备,是一整套物联系统解决方案。
Readme
311 MiB
Languages
Java 75.7%
TypeScript 10.4%
Vue 8.3%
PLpgSQL 3.6%
JavaScript 0.9%
Other 1%