test: cover end-to-end attendance workflow #41

Merged
wangziqi merged 3 commits from worktree-working-session into main 2026-07-23 04:10:31 +00:00
Owner

Summary

  • add an in-memory Nest HTTP integration test for the complete attendance workflow
  • cover XLSX student import, teacher/class/classroom setup, teacher assignment, scheduling, mocked DingTalk punches, and local manual overrides
  • verify administrator and assigned-teacher visibility plus unassigned-class isolation

Verification

  • npm test --workspace=apps/server -- --runInBand (93 suites, 714 passed, 1 skipped)
  • npm run typecheck --workspace=apps/server
  • npm run build --workspace=apps/server
  • frontend attendance authorization tests (23 passed)
  • backend lint: 0 errors; existing repository warnings remain
## Summary - add an in-memory Nest HTTP integration test for the complete attendance workflow - cover XLSX student import, teacher/class/classroom setup, teacher assignment, scheduling, mocked DingTalk punches, and local manual overrides - verify administrator and assigned-teacher visibility plus unassigned-class isolation ## Verification - `npm test --workspace=apps/server -- --runInBand` (93 suites, 714 passed, 1 skipped) - `npm run typecheck --workspace=apps/server` - `npm run build --workspace=apps/server` - frontend attendance authorization tests (23 passed) - backend lint: 0 errors; existing repository warnings remain
wangziqi added 1 commit 2026-07-23 02:33:32 +00:00
test: cover end-to-end attendance workflow
Some checks failed
CI / check (pull_request) Failing after 1m29s
099cff7f00
wangziqi added 2 commits 2026-07-23 03:48:53 +00:00
wangziqi changed title from WIP: test: cover end-to-end attendance workflow to test: cover end-to-end attendance workflow 2026-07-23 04:10:30 +00:00
wangziqi merged commit 585e955720 into main 2026-07-23 04:10:31 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: wangziqi/gongxue-base#41
No description provided.