Skip to content

User validation tests#39

Closed
RaulRooso wants to merge 2 commits into
tanjaq:mainfrom
RaulRooso:main
Closed

User validation tests#39
RaulRooso wants to merge 2 commits into
tanjaq:mainfrom
RaulRooso:main

Conversation

@RaulRooso
Copy link
Copy Markdown

Added user validation tests that have full coverage.
Added mock-up tests that mock registration validations and only cover app.js and user-register.

full coverage runtime 39 sec
mock-up tests runtime 0.88 sec

More info on tests coverage and runtimes look at PNG files added to project root folder.

@github-actions
Copy link
Copy Markdown

API & Mocked Tests and Coverage

Purpose: Validate README requirements for regular tests, mocked email tests, coverage, and runtime comparison.
Status: ✅ PASS
Regular tests (app.test.js): ✅ PASS (38032ms)
Mocked tests (app.mock.test.js): ✅ PASS (1358ms)
Coverage gate (both runs at 100%): ✅ PASS
Runtime gate (regular ≥ mocked + 1500ms): ✅ PASS
Regular coverage (app.js): lines=100% | statements=100% | functions=100% | branches=100%
Mocked coverage (app.js only): lines=100% | statements=100% | functions=100% | branches=100%
Run details: https://github.com/tanjaq/User-Register/actions/runs/24346676271
PR checks: https://github.com/tanjaq/User-Register/pull/39/checks

@tanjaq tanjaq closed this Apr 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants