Skip to content

feat: add telemetry #130

feat: add telemetry

feat: add telemetry #130

GitHub Actions / .NET test results succeeded Oct 11, 2024 in 0s

16 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
tests/CrowdParlay.Social.IntegrationTests/TestResults/_fv-az1535-618_2024-10-11_16_58_30.trx 12✅ 52s
tests/CrowdParlay.Social.UnitTests/TestResults/_fv-az1535-618_2024-10-11_16_57_41.trx 4✅ 1s

✅ tests/CrowdParlay.Social.IntegrationTests/TestResults/_fv-az1535-618_2024-10-11_16_58_30.trx

12 tests were completed in 52s with 12 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CrowdParlay.Social.IntegrationTests.Tests.CommentsRepositoryTests 5✅ 3s
CrowdParlay.Social.IntegrationTests.Tests.CommentsServiceTests 1✅ 280ms
CrowdParlay.Social.IntegrationTests.Tests.DiscussionsRepositoryTests 2✅ 1s
CrowdParlay.Social.IntegrationTests.Tests.HttpContractsTests 3✅ 2s
CrowdParlay.Social.IntegrationTests.Tests.SignalRTests 1✅ 1s

✅ CrowdParlay.Social.IntegrationTests.Tests.CommentsRepositoryTests

✅ Create comment
✅ Create comment with unknown author and discussion
✅ Get comment with unknown ID
✅ Get replies to comment
✅ Search comments

✅ CrowdParlay.Social.IntegrationTests.Tests.CommentsServiceTests

✅ Get user by ID returns cached user

✅ CrowdParlay.Social.IntegrationTests.Tests.DiscussionsRepositoryTests

✅ Get discussions by author
✅ Get discussions by author of no discussions

✅ CrowdParlay.Social.IntegrationTests.Tests.HttpContractsTests

✅ Preflight request to SignalR returns specific CORS allowed origins
✅ Resource not found error is returned as RFC 7807 problem details
✅ Responses are JSON-serialized in snake case

✅ CrowdParlay.Social.IntegrationTests.Tests.SignalRTests

✅ Listen to new comments in discussion

✅ tests/CrowdParlay.Social.UnitTests/TestResults/_fv-az1535-618_2024-10-11_16_57_41.trx

4 tests were completed in 1s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
CrowdParlay.Social.UnitTests.UsersServiceCachingDecoratorTests 4✅ 205ms

✅ CrowdParlay.Social.UnitTests.UsersServiceCachingDecoratorTests

✅ Get user by ID returns cached result if possible(userPresentInCache: False)
✅ Get user by ID returns cached result if possible(userPresentInCache: True)
✅ Get users by IDs returns cached results if possible(usersPresentInCache: False)
✅ Get users by IDs returns cached results if possible(usersPresentInCache: True)