Skip to content

Maintenance and Testing

MajoorWaldi edited this page Apr 7, 2026 · 1 revision

Maintenance and Testing

Database Maintenance

Majoor Assets Manager stores its SQLite index in the output-side _mjr_index area. The docs now provide much clearer recovery guidance for corruption and rebuild workflows.

Important maintenance actions include:

  • reset index
  • force delete database and rebuild
  • optimize database after heavy scan or delete activity

The docs also explain what is preserved and what is lost during emergency recovery.

Testing Strategy

The project uses:

  • pytest for backend testing
  • Vitest for frontend testing
  • a canonical quality gate script for combined verification

The current testing docs also clarify coverage thresholds, Windows batch runners, and where reports are written.

Recommended Commands

python scripts/run_quality_gate.py
python -m pytest -q
npm run test:js

Canonical Docs

Clone this wiki locally