Skip to content

Fix/code coverage

Fix/code coverage #138

Triggered via pull request November 12, 2023 16:43
Status Failure
Total duration 42s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
build
Error: The file was not found at the location: "Tests/TestResults/coverage.opencover.xml"
build
The following actions uses node12 which is deprecated and will be forced to run on node16: simon-k/dotnet-code-coverage-badge@v1.0.0. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: QuizAppApi/QuizAppApi/Utils/EventPublisher.cs#L7
Non-nullable event 'AnswerSubmitted' must contain a non-null value when exiting constructor. Consider declaring the event as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Responses/UserResponseDto.cs#L5
Non-nullable property 'Username' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Responses/TokenResponseDto.cs#L5
Non-nullable property 'Token' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Responses/QuizResponseDto.cs#L5
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Responses/QuizManipulationResponseDto.cs#L5
Non-nullable property 'Status' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Responses/QuestionResponseDto.cs#L6
Non-nullable property 'QuestionText' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Responses/QuestionResponseDto.cs#L7
Non-nullable property 'QuestionType' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Responses/QuestionResponseDto.cs#L8
Non-nullable property 'QuestionParameters' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Requests/UserRequestDto.cs#L8
Non-nullable property 'Username' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: QuizAppApi/QuizAppApi/Dtos/Requests/UserRequestDto.cs#L14
Non-nullable property 'Password' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.