Skip to content

Add test suite#34

Merged
neyec merged 4 commits into
mainfrom
feature/test-suite
May 27, 2026
Merged

Add test suite#34
neyec merged 4 commits into
mainfrom
feature/test-suite

Conversation

@neyec

@neyec neyec commented May 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add test infrastructure and tests across all three services (32 total)
  • Backend (20 tests): health, auth flow, project CRUD, security utilities — using pytest with SQLite in-memory database
  • Pipelines (4 tests): health endpoint, text extraction for txt/md/csv — using pytest
  • Frontend (8 tests): cn utility, API client (GET/POST/DELETE, auth headers, error handling) — using vitest + testing-library
  • CI updated with test-backend, test-pipelines jobs and frontend npm run test; docker-build depends on all test jobs
  • Minor README tweak: logo and tagline closer together

Closes #22

Test plan

  • cd backend && uv run pytest — 20 passed
  • cd pipelines && uv run pytest — 4 passed
  • cd frontend && npm test — 8 passed
  • Linting passes on all services
  • CI pipeline passes on PR

🤖 Generated with Claude Code

neyec and others added 4 commits May 27, 2026 15:24
Backend: 20 tests (health, auth, projects, security) using pytest + SQLite.
Pipelines: 4 tests (health, document text extraction) using pytest.
Frontend: 8 tests (cn utility, API client) using vitest + testing-library.
CI: test jobs added for all three services; docker-build depends on them.

Closes #22

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@neyec neyec merged commit 79428ac into main May 27, 2026
6 checks passed
@neyec neyec deleted the feature/test-suite branch May 27, 2026 14:32
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.

Add test suite

1 participant