Skip to content

Test/api endpoints - #28

Open
aivuk wants to merge 4 commits into
mainfrom
test/api-endpoints
Open

Test/api endpoints#28
aivuk wants to merge 4 commits into
mainfrom
test/api-endpoints

Conversation

@aivuk

@aivuk aivuk commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Add tests to all endpoints

aivuk added 4 commits March 20, 2026 23:17
Covers:
- GET /api/experiments
- POST /api/multi-experiment-info (single-channel and multi-channel)
- POST /api/plot-data (single-channel, multi-channel, blank well exclusion)
- POST /api/blank-analysis
- GET / (HTML response)

Run with: julia --project=. test/runtests.jl
Override server URL with SERVER_URL env variable.
Adds HTTP endpoint tests for:
- GET /api/experiments
- POST /api/multi-experiment-info (single-channel and multi-channel)
- POST /api/plot-data (single-channel, multi-channel, blank exclusion)
- POST /api/blank-analysis
- GET /

Preserves all existing function_clean_synergy.jl tests.
- Add .github/workflows/CI.yml (Julia 1.10 and 1.11, ubuntu-latest)
- Copy LG281 raw/clean data to test/fixtures/ so function_clean_synergy
  tests run in CI without needing gitignored data directories
- Test paths prefer test/fixtures/, fall back to local raw_data/Clean_data
- API tests auto-skip when server is not reachable (CI), run normally locally
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.

1 participant