Manual Testing Guide
Test all three interfaces (CLI, TUI, Web).
Prerequisites: Run bun install && bun run build and configure .env per the Quick Start guide.
Automated Tests
Run from the extenote/ repo root:
bun run --cwd packages/core test
bun run --cwd packages/cli test
bun run --cwd packages/refcheck test
bun run --cwd packages/tui test
bun run --cwd extensions/clipper test
Web UI integration tests (starts servers and captures screenshots):
bun run --cwd packages/web test:run
Testing Workflow
1. CLI Testing
# View vault status
bun run cli -- status
# Check for issues
bun run cli -- issues
# Create a BibTeX entry (non-interactive)
bun run cli -- create bibtex_entry smith2024 \
--title "Machine Learning in Practice" \
--visibility public \
--project personal-website
# Create a memo (interactive wizard)
bun run cli -- creator
# Export personal-website project
bun run cli -- export-project personal-website \
--format json \
--output dist/export/personal-website/json
# Show available commands
bun run cli -- guide --project personal-website
Expected outputs:
statusshould show object counts, projects, issuesissueslists validation errors by severitycreatecreatessmith2024.mdin appropriate directoryexport-projectcreates JSON bundle in dist/
2. TUI Testing
bun run tui
Test flow:
- Dashboard (default) - View stats
- Press
i- Issues - Press1/2/3/4to filter by severity - Press
c- Create - Select schema, enter details - Press
e- Export - Select project and format - Navigation - Press
horESCto return,qto quit
3. Web Testing
bun run web
Opens http://localhost:3000
Test flow:
- Dashboard - View vault stats
- Project Detail - Click a project to view objects
- Object Detail - View frontmatter and markdown
- Issues Page - Filter by severity
- Create Page - Create new objects
- Export Page - Export projects
Build & Deploy Testing
# List buildable projects
bun run cli -- build --list
# Dry-run build
bun run cli -- build data-leverage-blogs --dry-run
# Build a project
bun run cli -- build data-leverage-blogs --verbose
# Deploy
bun run cli -- deploy data-leverage-blogs
Success Criteria
- All three interfaces launch without errors
- Vault data loads in <5 seconds
- Create operations produce valid markdown files
- Export generates expected output files
- Build commands execute preRender steps and build websites
- Deploy commands push to configured platforms