Test/api endpoints - #28
Open
aivuk wants to merge 4 commits into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add tests to all endpoints