1.8 KiB
1.8 KiB
WRNexusJS 0.4 test checklist
Automated
Run from the repository root:
bun install
bun run verify:0.4
bun run validate:0.4
validate:0.4 performs:
- structural release verification;
- TypeScript checking;
- ESLint;
- all package tests;
- Prettier verification;
- 0.4 integration tests;
- basic application tests and production build;
- component showcase generation, tests, and build;
- CAPTCHA showcase tests and build;
- managed CAPTCHA service tests.
Package runtime
- Package absent and marker absent: no runtime script.
- Package installed but component unused: no runtime script.
- One or many components used: one runtime script.
- Script has correct MIME and
nosniffheaders. - TypeScript runtime entries compile in development.
- Production runtime filename is content hashed.
- CSR navigation to a runtime page loads and mounts it.
- Navigation away calls unmount and removes listeners/timers.
- Runtime and asset public-path collisions fail clearly.
CAPTCHA
- No application public copy of
captcha.jsexists. - No manual script tag exists.
- Number, alphabet, alphanumeric, calculation, audio, image, and not-robot modes work.
- Compact, normal, and big layouts work at mobile and desktop widths.
- Listen can be hidden or shown.
- Disturbance values 25–75 affect image difficulty.
- All image styles and random pools render.
- Protected page grants and redirects after verification.
- Validated form rejects invalid fields and unverified CAPTCHA.
- Tokens expire, are single use, and are action/host bound.
Migration
- Updating an old app creates a backup.
- Legacy CAPTCHA script tags are removed once.
- Legacy runtime files are archived, not silently lost.
- Re-running the migration is idempotent.
- Existing deployed apps continue to build.