You've already forked openaccounting-server
forked from cybercinch/openaccounting-server
Add API Integration Tests for Core Endpoints #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Overview
The application currently has excellent unit test coverage with mocked dependencies, but is completely missing integration tests for API endpoints. This leaves significant gaps in verifying real-world HTTP request/response functionality.
Current State
Required Integration Tests
High Priority Endpoints
POST /api/v1/transactions- Transaction creation with real databaseGET /api/v1/transactions- Transaction listing and filteringPOST /api/v1/accounts- Account creationGET /api/v1/accounts- Account listing with balancesPUT /api/v1/accounts/{id}- Account updatesDELETE /api/v1/accounts/{id}- Account deletionPOST /api/v1/auth- Authentication flowPOST /api/v1/orgs- Organization creationMedium Priority Endpoints
GET /api/v1/prices- Price/currency operationsPOST /api/v1/budget- Budget creation and managementGET /api/v1/users- User managementImplementation Notes
core/api/attachment_integration_test.goas a templateAcceptance Criteria