Skip to content

e2e: expand test suite with comprehensive API coverage - #27

Merged
AlpherJang merged 3 commits into
mainfrom
26-e2e-test-run-failed
Mar 18, 2026
Merged

AlpherJang merged 3 commits into
mainfrom
26-e2e-test-run-failed

Conversation

@AlpherJang

Copy link
Copy Markdown
Contributor
  • Add status code assertions to existing test cases (healthz, getPrefixCount, getDataByPrefix, deleteDataByPrefix)
  • Add putDataDuplicate test to verify 409 conflict response for duplicate prefix insertion
  • Add updateData and getUpdatedData tests to verify POST update functionality
  • Add getNotExist test to verify 404 response for non-existent data
  • Add putMultiLevelData test to verify nested prefix support
  • Add listByPrefix test to verify prefix-based data listing
  • Add deleteNotExist test to verify 404 response when deleting non-existent data
  • Improve test coverage for error cases and edge scenarios across all API endpoints

- Add status code assertions to existing test cases (healthz, getPrefixCount, getDataByPrefix, deleteDataByPrefix)
- Add putDataDuplicate test to verify 409 conflict response for duplicate prefix insertion
- Add updateData and getUpdatedData tests to verify POST update functionality
- Add getNotExist test to verify 404 response for non-existent data
- Add putMultiLevelData test to verify nested prefix support
- Add listByPrefix test to verify prefix-based data listing
- Add deleteNotExist test to verify 404 response when deleting non-existent data
- Improve test coverage for error cases and edge scenarios across all API endpoints
@AlpherJang AlpherJang linked an issue Mar 18, 2026 that may be closed by this pull request
- Replace deprecated `docker-compose` with `docker compose` command
- Update version check command to use new syntax
- Update service startup command to use new syntax
- Aligns with Docker's unified CLI approach and removes dependency on separate compose binary
- Return PrefixNotExisted error instead of nil when prefix not found
- Improves error handling clarity for API consumers
- Prevents silent failures when attempting to remove non-existent data
@AlpherJang
AlpherJang merged commit 1f6e286 into main Mar 18, 2026
2 checks passed
@AlpherJang
AlpherJang deleted the 26-e2e-test-run-failed branch March 20, 2026 03:33
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.

e2e test run failed

1 participant