Open Cap Stack - API Endpoints and Test Coverage Analysis - 11-12-24 #110
urbantech
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1. Financial Report API
Base Path:
/api/financial-reports
finrun.test.js
,FinancialController_Comprehensive.test.js
,financialReportCRUD.test.js
Endpoints:
2. Company API
Base Path:
/api/companies
CompanyController.test.js
,CompanyModel.test.js
,CompanyRoutes.test.js
Endpoints:
3. Notification API
Base Path:
/api/notifications
NotificationController.test.js
,NotificationModels.test.js
,NotificationRoutes.test.js
Endpoints:
4. Document API
Base Path:
/api/documents
documentController.test.js
,documentModel.test.js
,documentRoutes.test.js
Endpoints:
5. Document Access API
Base Path:
/api/document-access
documentAccessController.test.js
,documentAccessModel.test.js
,documentAccessRoutes.test.js
Endpoints:
6. Document Embedding API
Base Path:
/api/document-embeddings
documentEmbeddingController.test.js
,documentEmbeddingModel.test.js
Endpoints:
7. Tax Calculator API
Base Path:
/api/tax-calculations
TaxCalculatorController.test.js
,TaxCalculatorModel.test.js
,TaxCalculatorRoutes.test.js
Endpoints:
8. SPV API
Base Path:
/api/spv
SPVController.test.js
,SPVModel.test.js
,SPVRoutes.test.js
Endpoints:
9. SPV Asset API
Base Path:
/api/spv-assets
SPVassetController.test.js
,SPVassetModel.test.js
,SPVassetRoutes.test.js
Endpoints:
10. Communications API
Base Path:
/api/communications
CommunicationsController.test.js
,CommunicationsModel.test.js
,CommunicationRoutes.test.js
Endpoints:
11. Invite Management API
Base Path:
/api/invites
inviteManagementController.test.js
,inviteManagement.model.test.js
Endpoints:
12. Integration Module API
Base Path:
/api/integration-modules
integrationController.test.js
,integrationModel.test.js
,integrationRoutes.test.js
Endpoints:
13. Authentication API
Base Path:
/auth
authController.test.js
Endpoints:
14. Employee API
Base Path:
/api/employees
employeeController.test.js
,employee.model.test.js
,employeeRoute.test.js
Endpoints:
15. Admin API
Base Path:
/api/admins
adminController.test.js
,admin.model.test.js
,admin.routes.test.js
Endpoints:
16. Stakeholder API
Base Path:
/api/stakeholders
stakeholderRoutes.test.js
,stakeholder.model.test.js
Endpoints:
17. Share Class API
Base Path:
/api/shareClasses
shareClassRoutes.test.js
,shareClass.model.test.js
Endpoints:
18. Investment Tracker API
Base Path:
/api/investments
investmentTrackerController.test.js
,investmentTrackerModel.test.js
,investmentTrackerRoutes.test.js
Endpoints:
19. Compliance Check API
Base Path:
/api/compliance-checks
ComplianceCheckController.test.js
,ComplianceCheckModel.test.js
,ComplianceCheckRoutes.test.js
Endpoints:
Test Coverage Summary
Integration Tests
Passed:
Failed:
Common Test Categories Across APIs:
API Test Coverage Analysis
Overall Test Coverage Statistics
Coverage Breakdown by API
1. Financial Report API
Coverage: 100% (30 tests)
2. Company API
Coverage: 100% (10 tests)
3. Notification API
Coverage: 100% (4 tests)
4. Document API
Coverage: 100% (5 tests)
5. Document Access API
Coverage: 100% (5 tests)
6. Document Embedding API
Coverage: 100% (3 tests)
7. Tax Calculator API
Coverage: 100% (8 tests)
8. SPV API
Coverage: 100% (3 tests)
9. SPV Asset API
Coverage: 100% (3 tests)
10. Communications API
Coverage: 100% (10 tests)
11. Invite Management API
Coverage: 100% (6 tests)
12. Integration Module API
Coverage: 100% (3 tests)
13. Authentication API
Coverage: 100% (3 tests)
14. Employee API
Coverage: 100% (2 tests)
15. Admin API
Coverage: 100% (8 tests)
16. Stakeholder API
Coverage: 100% (4 tests)
17. Share Class API
Coverage: 100% (4 tests)
18. Investment Tracker API
Coverage: 100% (2 tests)
19. Compliance Check API
Coverage: 100% (3 tests)
Test Types Distribution
Test Categories Coverage
Failed Tests Analysis
Airflow Integration
MinIO Storage Integration
Test Coverage Gaps
Edge Cases
Performance Testing
Recommendations
The test coverage is comprehensive for core functionality with all APIs having 100% coverage for their main operations. The only gaps are in external service integrations and some advanced scenarios.
Beta Was this translation helpful? Give feedback.
All reactions