Go Test Report

136
Total
136
Passed
0
Failed
36.39
Seconds
keskikuja.site/agent-platform/api/internal/auth15 tests0.01s
Test Status Time
TestSessionMiddleware_ValidCookie PASS 0.000s
TestSessionMiddleware_NoCookie PASS 0.000s
TestSessionMiddleware_InvalidCookie PASS 0.000s
TestSessionMiddleware_IdleExpired PASS 0.000s
TestCSRFMiddleware_AllowsGETWithoutOrigin PASS 0.000s
TestCSRFMiddleware_AllowsPOSTWithCorrectOrigin PASS 0.000s
TestCSRFMiddleware_BlocksPOSTWithWrongOrigin PASS 0.000s
TestCSRFMiddleware_AllowsPOSTWithoutOrigin PASS 0.000s
TestCSRFMiddleware_AllowsPUTWithCorrectOrigin PASS 0.000s
TestCSRFMiddleware_BlocksDELETEWithWrongOrigin PASS 0.000s
TestCSRFMiddleware_AllowsGETWithWrongOrigin PASS 0.000s
TestCSRFMiddleware_EmptyOriginAllowsAll PASS 0.000s
TestAuthMiddlewareValidToken PASS 0.000s
TestAuthMiddlewareInvalidToken PASS 0.000s
TestAuthMiddlewareMissingHeader PASS 0.000s
keskikuja.site/agent-platform/api/internal/auth/store7 tests0.05s
Test Status Time
TestMemoryStore_CreateAndGet PASS 0.000s
TestMemoryStore_GetNotFound PASS 0.000s
TestMemoryStore_Delete PASS 0.000s
TestMemoryStore_TTLExpiry PASS 0.020s
TestMemoryStore_SetStateAndGetAndDeleteState PASS 0.000s
TestMemoryStore_SetRevokedJTIAndIsJTIRevoked PASS 0.000s
TestMemoryStore_StateExpiry PASS 0.020s
keskikuja.site/agent-platform/api/internal/database1 tests0.68s
Test Status Time
TestMigrateUpDown PASS 0.660s
keskikuja.site/agent-platform/api/internal/handlers111 tests35.64s
Test Status Time
TestAuthHandler_Init PASS 0.000s
TestAuthHandler_Init_NoReturnURL PASS 0.000s
TestAuthHandler_Init_AbsoluteReturnURL PASS 0.000s
TestAuthHandler_Session_NoCookie PASS 0.000s
TestAuthHandler_Session_WithSession PASS 0.000s
TestAuthHandler_Logout PASS 0.000s
TestAuthHandler_Logout_Idempotent PASS 0.000s
TestAuthHandler_Logout_WithIDToken PASS 0.000s
TestHealth PASS 0.350s
TestReady_Success PASS 0.360s
TestReady_DBDown PASS 0.040s
TestCheck_Success PASS 0.390s
TestCheck_DBDown PASS 0.040s
TestReady_ContextTimeout PASS 0.360s
TestCheck_NilRequest PASS 0.370s
TestUserHealth_NoAuth PASS 0.360s
TestUserHealth_ApiKey PASS 0.360s
TestUserHealth_SessionCookie PASS 0.340s
TestUserHealth_ExpiredSession PASS 0.330s
TestUserHealth_InvalidApiKey PASS 0.850s
TestCreatePipeline_Success PASS 0.350s
TestCreatePipeline_MissingName PASS 0.330s
TestCreatePipeline_InvalidProjectId PASS 0.840s
TestGetPipeline_Success PASS 0.340s
TestGetPipeline_NotFound PASS 0.370s
TestListPipelinesByProject PASS 0.350s
TestListPipelinesByProject_NotFound PASS 0.350s
TestListPipelines_FilterEnabled PASS 0.330s
TestUpdatePipeline_Success PASS 0.350s
TestUpdatePipeline_NotFound PASS 0.340s
TestDeletePipeline_Success PASS 0.350s
TestDeletePipeline_NotFound PASS 0.340s
TestGetProjectDetail_IncludesPipelines PASS 0.340s
TestCreateProject_Success PASS 0.340s
TestCreateProject_MissingName PASS 0.330s
TestCreateProject_TooShortName PASS 0.330s
TestGetProject_Success PASS 0.310s
TestGetProject_NotFound PASS 0.800s
TestListProjects_DefaultPagination PASS 0.330s
TestListProjects_SortByNameAsc PASS 0.310s
TestListProjects_InvalidSortField PASS 0.330s
TestUpdateProject_Success PASS 0.330s
TestUpdateProject_NotFound PASS 0.320s
TestDeleteProject_Success PASS 0.370s
TestDeleteProject_NotFound PASS 0.330s
TestProjectEndpoints_NoSession PASS 0.320s
TestCreateRepository_Success PASS 0.330s
TestCreateRepository_InvalidName PASS 0.330s
TestCreateRepository_MissingName PASS 0.340s
TestGetRepository_Success PASS 0.330s
TestGetRepository_NotFound PASS 0.350s
TestListRepositories PASS 0.370s
TestUpdateRepository_Success PASS 0.350s
TestUpdateRepository_NotFound PASS 0.340s
TestDeleteRepository_Success PASS 0.330s
TestDeleteRepository_NotFound PASS 0.340s
TestCheckRepositoryHealth PASS 0.390s
TestRepositoryEndpoints_NoSession PASS 0.320s
TestCreateRun_Success PASS 0.350s
TestCreateRun_MissingPipelineID PASS 0.340s
TestCreateRun_InvalidPipelineID PASS 0.320s
TestCreateRun_InvalidJSON PASS 1.040s
TestCreateRun_InvalidSourceType PASS 0.310s
TestGetRun_Success PASS 0.340s
TestGetRun_NotFound PASS 0.320s
TestListRuns_ReturnsDefaultPagination PASS 0.370s
TestListRuns_CustomLimitAndOffset PASS 0.340s
TestListRuns_LimitValidation/default_when_missing PASS 0.010s
TestListRuns_LimitValidation/valid_limit PASS 0.000s
TestListRuns_LimitValidation/max_limit_capped PASS 0.000s
TestListRuns_LimitValidation/negative_limit_uses_default PASS 0.000s
TestListRuns_LimitValidation/zero_limit_uses_default PASS 0.000s
TestListRuns_LimitValidation/invalid_format_uses_default PASS 0.000s
TestListRuns_LimitValidation PASS 0.360s
TestListRuns_FilterByPhase PASS 0.350s
TestListRuns_FilterByMultiplePhases PASS 0.350s
TestListRuns_FilterByInvalidPhase PASS 0.350s
TestListRuns_FilterProjectID PASS 0.340s
TestListRuns_FilterPipelineID PASS 0.340s
TestListRuns_FilterSourceType PASS 0.350s
TestListRuns_FilterCreatedAfter PASS 0.330s
TestListRuns_FilterCreatedBefore PASS 0.360s
TestListRuns_FilterSource PASS 0.340s
TestListRuns_SortByStartedAt PASS 0.430s
TestListRuns_FilterMultipleCriteria PASS 0.330s
TestListRuns_SortByCreatedAtDesc PASS 0.330s
TestListRuns_SortByUpdatedAtAsc PASS 0.340s
TestListRuns_InvalidSortField PASS 0.370s
TestListRuns_CursorPagination PASS 0.340s
TestUpdateRun_PhaseOnly PASS 0.760s
TestUpdateRun_Completed PASS 0.380s
TestUpdateRun_Failed PASS 0.380s
TestUpdateRun_NotFound PASS 0.390s
TestUpdateRun_InvalidPhase PASS 0.390s
TestUpdateRun_NoAuth PASS 0.370s
TestIdempotency_NoKey PASS 0.350s
TestIdempotency_SameKeySameBody PASS 0.350s
TestIdempotency_SameKeyDifferentBody PASS 0.330s
TestHubPublishAndReceive PASS 0.000s
TestHubFilterPhaseMatch PASS 0.000s
TestHubFilterPhaseMismatch PASS 0.200s
TestHubFilterSourceType PASS 0.200s
TestSubscribeSSE_NoAuth PASS 1.300s
TestSubscribeSSE_InvalidAPIKey PASS 0.380s
TestRunCreationPublishesSSEEvent PASS 0.330s
TestVikunjaWebhook_Success PASS 0.330s
TestVikunjaWebhook_MissingEvent PASS 0.330s
TestVikunjaWebhook_NoProjectConfigured PASS 0.350s
TestVikunjaWebhook_ProjectNotFound PASS 0.360s
TestVikunjaWebhook_NoPipeline PASS 0.330s
TestVikunjaWebhook_InvalidJSON PASS 0.340s
keskikuja.site/agent-platform/api/internal/model0 tests0.00s
Test Status Time
keskikuja.site/agent-platform/api/internal/pipeline2 tests0.01s
Test Status Time
TestMockExecutor_Start PASS 0.000s
TestMockExecutor_Interface PASS 0.000s
keskikuja.site/agent-platform/api/internal/pipeline/k8s0 tests0.00s
Test Status Time
keskikuja.site/agent-platform/api/internal/swagger0 tests0.00s
Test Status Time