Skip to main content
Testing Guide
npm run lintruns frontend linting and formatting checks.npm run test:ciruns the root Vitest suite and the frontend PR prep script with E2E tests skipped.- Internal routes starting with
/resolve to an Astro route. /docs/<slug>pages refer to an existing docs markdown entry.- GitHub links that point to
democratizedspace/dspaceon thev3branch refer to a file that exists in the repo. npm testruns the full suite, including E2E tests.SKIP_E2E=1 npm testskips the E2E suite if Playwright browsers are unavailable.npm run buildperforms an Astro production build.
Testing Guide
This guide describes the mandatory checks to run before submitting a pull request and the purpose of each test suite in DSPACE.
Required pre-PR checks
Run these from the repository root:
npm run lint
npm run test:ci
Link validation
Docs are validated by scripts/link-check.mjs. It verifies:
Run it manually with:
npm run link-check
