Skip to content

Improve code coverage - #24

Merged
admclamb merged 3 commits into
mainfrom
admclamb/improve-code-coverage
Oct 10, 2026
Merged

admclamb merged 3 commits into
mainfrom
admclamb/improve-code-coverage

Update to xunit

c929088
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 10, 2026 in 46s

Annotations

Check warning on line 211 in StackDuel.Application.Tests/Queries/Games/GetGameState/GetGameStateHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5DVvdWhUKH3hG5R&open=AaEnx5DVvdWhUKH3hG5R&pullRequest=24

Check warning on line 111 in StackDuel.Application.Tests/Queries/Problems/GetAdminProblemsPageable/GetAdminProblemsPageableHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5HCvdWhUKH3hG5V&open=AaEnx5HCvdWhUKH3hG5V&pullRequest=24

Check warning on line 68 in StackDuel.Application.Tests/Queries/Tracks/GetTracks/GetTracksHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5K1vdWhUKH3hG5a&open=AaEnx5K1vdWhUKH3hG5a&pullRequest=24

Check warning on line 68 in StackDuel.Application.Tests/Queries/Permissions/GetUserAccessContext/GetUserAccessContextHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5MMvdWhUKH3hG5c&open=AaEnx5MMvdWhUKH3hG5c&pullRequest=24

Check warning on line 433 in StackDuel.Domain.Tests/Games/Entities/GameTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx4zQvdWhUKH3hG5O&open=AaEnx4zQvdWhUKH3hG5O&pullRequest=24

Check warning on line 116 in StackDuel.Application.Tests/Queries/Games/GetMyActiveGames/GetMyActiveGamesHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5CMvdWhUKH3hG5Q&open=AaEnx5CMvdWhUKH3hG5Q&pullRequest=24

Check warning on line 141 in StackDuel.Application.Tests/Queries/Problems/GetAdminProblemsPageable/GetAdminProblemsPageableHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5HCvdWhUKH3hG5W&open=AaEnx5HCvdWhUKH3hG5W&pullRequest=24

Check warning on line 67 in StackDuel.Application.Tests/Queries/Tracks/GetTracks/GetTracksHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5K1vdWhUKH3hG5Z&open=AaEnx5K1vdWhUKH3hG5Z&pullRequest=24

Check warning on line 67 in StackDuel.Application.Tests/Queries/Permissions/GetUserAccessContext/GetUserAccessContextHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5MMvdWhUKH3hG5b&open=AaEnx5MMvdWhUKH3hG5b&pullRequest=24

Check warning on line 120 in StackDuel.Application.Tests/Queries/Problems/GetAdminProblemDetail/GetAdminProblemDetailHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5F4vdWhUKH3hG5U&open=AaEnx5F4vdWhUKH3hG5U&pullRequest=24

Check warning on line 78 in StackDuel.Application.Tests/Queries/Problems/GetProblemById/GetProblemByIdHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5JevdWhUKH3hG5Y&open=AaEnx5JevdWhUKH3hG5Y&pullRequest=24

Check warning on line 152 in StackDuel.Application.Tests/Queries/Games/GetOpenGames/GetOpenGamesHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5A_vdWhUKH3hG5P&open=AaEnx5A_vdWhUKH3hG5P&pullRequest=24

Check warning on line 99 in StackDuel.Application.Tests/Queries/Problems/GetAdminProblemDetail/GetAdminProblemDetailHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5F4vdWhUKH3hG5T&open=AaEnx5F4vdWhUKH3hG5T&pullRequest=24

Check warning on line 74 in StackDuel.Application.Tests/Queries/Problems/GetProblemBySlug/GetProblemBySlugHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5IOvdWhUKH3hG5X&open=AaEnx5IOvdWhUKH3hG5X&pullRequest=24

Check warning on line 67 in StackDuel.Application.Tests/Queries/Games/GetGameModes/GetGameModesHandlerTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Stack-Duel_server&issues=AaEnx5EkvdWhUKH3hG5S&open=AaEnx5EkvdWhUKH3hG5S&pullRequest=24