#896: Introduce constants to reduce repetition in tests #1526
GitHub Actions / NUnit Tests
succeeded
Jun 19, 2024 in 0s
1666 passed, 0 failed and 1 skipped
✅ TestResults.trx
1667 tests were completed in 9s with 1666 passed, 0 failed and 1 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
CourageScores.Tests.Binders.CommaDelimitedModelBinderTest | 40✅ | 165ms | ||
CourageScores.Tests.ClientTests | 1⚪ | 101ms | ||
CourageScores.Tests.Controllers.LiveControllerTests | 5✅ | 119ms | ||
CourageScores.Tests.DependencyInjectionTest | 37✅ | 76ms | ||
CourageScores.Tests.ExceptionHandlerTests | 8✅ | 296ms | ||
CourageScores.Tests.Filters.CacheManagementFilterTests | 4✅ | 7ms | ||
CourageScores.Tests.Models.ActionResultTests | 30✅ | 7ms | ||
CourageScores.Tests.Models.Adapters.ActionResultAdapterTests | 3✅ | 4ms | ||
CourageScores.Tests.Models.Adapters.AuditExtensionsTests | 5✅ | 5ms | ||
CourageScores.Tests.Models.Adapters.ConfiguredFeatureDtoAdapterTests | 3✅ | 8ms | ||
CourageScores.Tests.Models.Adapters.Division.DivisionDataSeasonAdapterTests | 1✅ | 2ms | ||
CourageScores.Tests.Models.Adapters.Division.DivisionFixtureAdapterTests | 12✅ | 74ms | ||
CourageScores.Tests.Models.Adapters.Division.DivisionFixtureDateAdapterTests | 13✅ | 66ms | ||
CourageScores.Tests.Models.Adapters.Division.DivisionFixtureTeamAdapterTests | 3✅ | 2ms | ||
CourageScores.Tests.Models.Adapters.Division.DivisionPlayerAdapterTests | 6✅ | 22ms | ||
CourageScores.Tests.Models.Adapters.Division.DivisionTeamAdapterTests | 4✅ | 5ms | ||
CourageScores.Tests.Models.Adapters.Division.DivisionTournamentFixtureDetailsAdapterTests | 17✅ | 34ms | ||
CourageScores.Tests.Models.Adapters.Division.PlayerPerformanceAdapterTests | 1✅ | 1ms | ||
CourageScores.Tests.Models.Adapters.DivisionAdapterTests | 3✅ | 2ms | ||
CourageScores.Tests.Models.Adapters.ErrorDetailAdapterTests | 3✅ | 14ms | ||
CourageScores.Tests.Models.Adapters.FixtureDateNoteAdapterTests | 3✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Game.GameAdapterTests | 38✅ | 106ms | ||
CourageScores.Tests.Models.Adapters.Game.GameMatchAdapterTests | 4✅ | 4ms | ||
CourageScores.Tests.Models.Adapters.Game.GameMatchOptionAdapterTests | 4✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Game.GamePlayerAdapterTests | 4✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Game.GameTeamAdapterTests | 11✅ | 10ms | ||
CourageScores.Tests.Models.Adapters.Game.NotablePlayerAdapterTests | 4✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Game.NotableTournamentPlayerAdapterTests | 4✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Game.Sayg.LegAdapterTests | 24✅ | 42ms | ||
CourageScores.Tests.Models.Adapters.Game.Sayg.LegCompetitorScoreAdapterTests | 7✅ | 7ms | ||
CourageScores.Tests.Models.Adapters.Game.Sayg.LegPlayerSequenceAdapterTests | 6✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Game.Sayg.LegThrowAdapterTests | 2✅ | 2ms | ||
CourageScores.Tests.Models.Adapters.Game.Sayg.RecordedScoreAsYouGoAdapterTests | 2✅ | 16ms | ||
CourageScores.Tests.Models.Adapters.Game.Sayg.ScoreAsYouGoAdapterTests | 2✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Game.Sayg.UpdateRecordedScoreAsYouGoDtoAdapterTests | 7✅ | 14ms | ||
CourageScores.Tests.Models.Adapters.Game.TournamentGameAdapterTests | 8✅ | 12ms | ||
CourageScores.Tests.Models.Adapters.Game.TournamentMatchAdapterTests | 6✅ | 9ms | ||
CourageScores.Tests.Models.Adapters.Game.TournamentPlayerAdapterTests | 3✅ | 2ms | ||
CourageScores.Tests.Models.Adapters.Game.TournamentRoundAdapterTests | 8✅ | 8ms | ||
CourageScores.Tests.Models.Adapters.Game.TournamentSideAdapterTests | 5✅ | 4ms | ||
CourageScores.Tests.Models.Adapters.Health.DivisionDateHealthDtoAdapterTests | 1✅ | 12ms | ||
CourageScores.Tests.Models.Adapters.Health.DivisionHealthDtoAdapterTests | 1✅ | 5ms | ||
CourageScores.Tests.Models.Adapters.Health.LeagueFixtureHealthDtoAdapterTests | 4✅ | 4ms | ||
CourageScores.Tests.Models.Adapters.Health.SeasonHealthDtoAdapterTests | 1✅ | 5ms | ||
CourageScores.Tests.Models.Adapters.Identity.AccessAdapterTests | 2✅ | 4ms | ||
CourageScores.Tests.Models.Adapters.Identity.UserAdapterTests | 4✅ | 4ms | ||
CourageScores.Tests.Models.Adapters.Live.WatchableDataDtoAdapterTests | 16✅ | 36ms | ||
CourageScores.Tests.Models.Adapters.Live.WebSocketDtoAdapterTests | 1✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.PhotoReferenceAdapterTests | 2✅ | 2ms | ||
CourageScores.Tests.Models.Adapters.ReconfigureFeatureAdapterTests | 3✅ | 2ms | ||
CourageScores.Tests.Models.Adapters.Season.Creation.DateTemplateAdapterTests | 2✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Season.Creation.DivisionTemplateAdapterTests | 2✅ | 4ms | ||
CourageScores.Tests.Models.Adapters.Season.Creation.FixtureTemplateAdapterTests | 4✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Season.Creation.SharedAddressAdapterTests | 3✅ | 2ms | ||
CourageScores.Tests.Models.Adapters.Season.Creation.TemplateAdapterTests | 6✅ | 7ms | ||
CourageScores.Tests.Models.Adapters.Season.Creation.TemplateToHealthCheckAdapterTests | 10✅ | 54ms | ||
CourageScores.Tests.Models.Adapters.Season.SeasonAdapterTests | 7✅ | 8ms | ||
CourageScores.Tests.Models.Adapters.Season.UpdateScoresAdapterTests | 11✅ | 29ms | ||
CourageScores.Tests.Models.Adapters.Team.TeamAdapterTests | 3✅ | 3ms | ||
CourageScores.Tests.Models.Adapters.Team.TeamPlayerAdapterTests | 8✅ | 8ms | ||
CourageScores.Tests.Models.Adapters.Team.TeamSeasonAdapterTests | 2✅ | 5ms | ||
CourageScores.Tests.Models.Adapters.UnconfiguredFeatureAdapterTests | 1✅ | 6ms | ||
CourageScores.Tests.Models.Cosmos.Game.GameMatchTests | 8✅ | 30ms | ||
CourageScores.Tests.Models.Cosmos.Game.GameTests | 17✅ | 37ms | ||
CourageScores.Tests.Models.Cosmos.Game.TournamentGameTests | 8✅ | 15ms | ||
CourageScores.Tests.Models.Cosmos.Game.TournamentRoundTests | 9✅ | 8ms | ||
CourageScores.Tests.Models.Cosmos.Game.TournamentSideTests | 2✅ | 2ms | ||
CourageScores.Tests.Models.Dtos.ActionResultDtoTests | 25✅ | 6ms | ||
CourageScores.Tests.Models.Dtos.ConfiguredFeatureExtensionsTests | 21✅ | 4ms | ||
CourageScores.Tests.Models.Dtos.Division.DivisionDataFilterTests | 34✅ | 9ms | ||
CourageScores.Tests.Models.Dtos.Health.HealthCheckResultDtoTests | 7✅ | 2ms | ||
CourageScores.Tests.Models.Dtos.Season.Creation.TeamPlaceholderDtoTests | 2✅ | 5ms | ||
CourageScores.Tests.Repository.CosmosTableNameResolverTests | 9✅ | 6ms | ||
CourageScores.Tests.Repository.DataBrowserRepositoryTests | 2✅ | 16ms | ||
CourageScores.Tests.Repository.FeatureLookupTests | 2✅ | 1ms | ||
CourageScores.Tests.Repository.PhotoRepositoryTests | 5✅ | 21ms | ||
CourageScores.Tests.Services.AsyncEnumerableExtensionsTests | 11✅ | 17ms | ||
CourageScores.Tests.Services.AuditingHelperTests | 7✅ | 10ms | ||
CourageScores.Tests.Services.CachingDataServiceTests | 12✅ | 66ms | ||
CourageScores.Tests.Services.Command.AddErrorCommandTests | 2✅ | 5ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateCommandTests | 6✅ | 5ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateDivisionCommandTests | 2✅ | 1ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateGameCommandTests | 10✅ | 66ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateNoteCommandTests | 4✅ | 4ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateSaygCommandTests | 7✅ | 9ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateSeasonCommandTests | 6✅ | 33ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateSeasonTemplateCommandTests | 5✅ | 22ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateTeamCommandTests | 15✅ | 111ms | ||
CourageScores.Tests.Services.Command.AddOrUpdateTournamentGameCommandTests | 11✅ | 73ms | ||
CourageScores.Tests.Services.Command.AddPlayerToTeamSeasonCommandTests | 13✅ | 43ms | ||
CourageScores.Tests.Services.Command.AddSeasonToTeamCommandTests | 9✅ | 21ms | ||
CourageScores.Tests.Services.Command.CreateTournamentMatchSaygCommandTests | 7✅ | 20ms | ||
CourageScores.Tests.Services.Command.DeletePhotoCommandTests | 2✅ | 6ms | ||
CourageScores.Tests.Services.Command.DeleteTeamCommandTests | 14✅ | 35ms | ||
CourageScores.Tests.Services.Command.DeleteTournamentMatchSaygCommandTests | 5✅ | 6ms | ||
CourageScores.Tests.Services.Command.PatchTournamentCommandTests | 9✅ | 9ms | ||
CourageScores.Tests.Services.Command.RemovePlayerCommandTests | 10✅ | 19ms | ||
CourageScores.Tests.Services.Command.UpdatePlayerCommandTests | 19✅ | 78ms | ||
CourageScores.Tests.Services.Command.UpdateScoresCommandTests | 28✅ | 110ms | ||
CourageScores.Tests.Services.Command.UploadPhotoCommandTests | 9✅ | 32ms | ||
CourageScores.Tests.Services.Data.CosmosTableServiceTests | 22✅ | 94ms | ||
CourageScores.Tests.Services.Data.DataImporterTests | 22✅ | 82ms | ||
CourageScores.Tests.Services.Data.DataServiceTests | 44✅ | 284ms | ||
CourageScores.Tests.Services.Data.TableAccessorTests | 10✅ | 25ms | ||
CourageScores.Tests.Services.Data.ZipBuilderFactoryTests | 8✅ | 115ms | ||
CourageScores.Tests.Services.Data.ZipBuilderTests | 3✅ | 7ms | ||
CourageScores.Tests.Services.Data.ZipFileReaderTests | 8✅ | 7ms | ||
CourageScores.Tests.Services.Division.CachingDivisionServiceTests | 20✅ | 115ms | ||
CourageScores.Tests.Services.Division.DivisionDataCacheKeyTests | 9✅ | 1ms | ||
CourageScores.Tests.Services.Division.DivisionDataContextTests | 5✅ | 11ms | ||
CourageScores.Tests.Services.Division.DivisionDataDtoFactoryTests | 30✅ | 140ms | ||
CourageScores.Tests.Services.Division.DivisionDataGameVisitorTests | 30✅ | 12ms | ||
CourageScores.Tests.Services.Division.DivisionServiceExtensionsTests | 2✅ | 1ms | ||
CourageScores.Tests.Services.Division.DivisionServiceTests | 22✅ | 157ms | ||
CourageScores.Tests.Services.Error.ErrorDetailServiceTests | 12✅ | 51ms | ||
CourageScores.Tests.Services.FeatureServiceTests | 34✅ | 135ms | ||
CourageScores.Tests.Services.Game.GameComparerTests | 15✅ | 89ms | ||
CourageScores.Tests.Services.Game.GameMatchComparerTests | 10✅ | 12ms | ||
CourageScores.Tests.Services.Game.GameMatchOptionComparerTests | 10✅ | 1ms | ||
CourageScores.Tests.Services.Game.GamePlayerComparerTests | 14✅ | 2ms | ||
CourageScores.Tests.Services.Game.GameServiceTests | 49✅ | 168ms | ||
CourageScores.Tests.Services.Game.GameTeamComparerTests | 9✅ | 1ms | ||
CourageScores.Tests.Services.Game.HiChecksComparerTests | 22✅ | 3ms | ||
CourageScores.Tests.Services.GenericDataServiceTests | 18✅ | 91ms | ||
CourageScores.Tests.Services.Health.Checks.ContiguousByesTests | 7✅ | 12ms | ||
CourageScores.Tests.Services.Health.Checks.ContiguousHomeOrAwayFixturesTests | 13✅ | 15ms | ||
CourageScores.Tests.Services.Health.Checks.FixturesAfterStartDateTests | 3✅ | 5ms | ||
CourageScores.Tests.Services.Health.Checks.FixturesBeforeEndDateTests | 3✅ | 2ms | ||
CourageScores.Tests.Services.Health.Checks.TeamsAreNotPlayingAgainstThemselvesTests | 2✅ | 5ms | ||
CourageScores.Tests.Services.Health.Checks.TeamsHaveBothLegsTests | 5✅ | 6ms | ||
CourageScores.Tests.Services.Health.Checks.TeamsPlayingMultipleFixturesOnSameDateTests | 6✅ | 7ms | ||
CourageScores.Tests.Services.Health.Checks.VenuesBeingUsedByMultipleTeamsOnSameDateTests | 8✅ | 9ms | ||
CourageScores.Tests.Services.Health.HealthCheckServiceTests | 8✅ | 43ms | ||
CourageScores.Tests.Services.Identity.UserServiceTests | 23✅ | 58ms | ||
CourageScores.Tests.Services.Live.LiveServiceTests | 18✅ | 74ms | ||
CourageScores.Tests.Services.Live.PollingUpdatesProcessorTests | 9✅ | 26ms | ||
CourageScores.Tests.Services.Live.PublishUpdatesProcessorTests | 7✅ | 24ms | ||
CourageScores.Tests.Services.Live.WebSocketContractFactoryTests | 5✅ | 6ms | ||
CourageScores.Tests.Services.Live.WebSocketContractTests | 22✅ | 63ms | ||
CourageScores.Tests.Services.PhotoHelperTests | 5✅ | 1s | ||
CourageScores.Tests.Services.PhotoServiceTests | 21✅ | 67ms | ||
CourageScores.Tests.Services.PhotoSettingsTests | 12✅ | 5ms | ||
CourageScores.Tests.Services.Report.FinalsNightReportTests | 29✅ | 192ms | ||
CourageScores.Tests.Services.Report.HighestCheckoutReportTests | 5✅ | 26ms | ||
CourageScores.Tests.Services.Report.ManOfTheMatchReportTests | 5✅ | 16ms | ||
CourageScores.Tests.Services.Report.MostOneEightiesReportTests | 4✅ | 14ms | ||
CourageScores.Tests.Services.Report.MostPlayedPlayerReportTests | 13✅ | 36ms | ||
CourageScores.Tests.Services.Report.PlayerLookupTests | 6✅ | 5ms | ||
CourageScores.Tests.Services.Report.ReportFactoryTests | 3✅ | 6ms | ||
CourageScores.Tests.Services.Report.ReportServiceTests | 5✅ | 33ms | ||
CourageScores.Tests.Services.Report.RequestedDivisionOnlyReportTests | 47✅ | 38ms | ||
CourageScores.Tests.Services.Season.CachingSeasonServiceTests | 4✅ | 11ms | ||
CourageScores.Tests.Services.Season.Creation.AddressAssignmentStrategyTests | 12✅ | 33ms | ||
CourageScores.Tests.Services.Season.Creation.CompatibilityCheck.CompositeCompatibilityCheckTests | 9✅ | 17ms | ||
CourageScores.Tests.Services.Season.Creation.CompatibilityCheck.EachDivisionHasRightNumberOfTeamsWithSharedAddressTests | 4✅ | 5ms | ||
CourageScores.Tests.Services.Season.Creation.CompatibilityCheck.NoMoreThanTemplateDivisionTeamCountTests | 4✅ | 6ms | ||
CourageScores.Tests.Services.Season.Creation.CompatibilityCheck.SameNumberOfDivisionsTests | 2✅ | 2ms | ||
CourageScores.Tests.Services.Season.Creation.CompatibilityCheck.SeasonHasRightNumberOfTeamsWithSharedAddressTests | 4✅ | 3ms | ||
CourageScores.Tests.Services.Season.Creation.FixtureDateAssignmentStrategyTests | 9✅ | 20ms | ||
CourageScores.Tests.Services.Season.Creation.SeasonTemplateServiceTests | 22✅ | 134ms | ||
CourageScores.Tests.Services.Season.Creation.TemplatedSeasonProposalStrategyTests | 4✅ | 13ms | ||
CourageScores.Tests.Services.Season.Creation.TemplateMatchContextTests | 16✅ | 3ms | ||
CourageScores.Tests.Services.Season.SeasonServiceTests | 12✅ | 29ms | ||
CourageScores.Tests.Services.Status.StatusServiceTests | 16✅ | 35ms | ||
CourageScores.Tests.Services.Team.CachingTeamServiceTests | 6✅ | 23ms | ||
CourageScores.Tests.Services.Team.TeamServiceTests | 2✅ | 12ms |
Loading