Skip to content

Add unit tests

Add unit tests #150

Triggered via pull request May 24, 2024 09:27
Status Success
Total duration 48s
Artifacts

validate.yaml

on: pull_request
Matrix: test
Matrix: validate
Fit to window
Zoom out
Zoom in

Annotations

66 warnings
validate (./Tms.Adapter)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
validate (./Tms.Adapter): Tms.Adapter/Attributes/StepAttribute.cs#L144
Cannot convert null literal to non-nullable reference type.
validate (./Tms.Adapter): Tms.Adapter/Models/StepResult.cs#L9
Non-nullable property 'Outcome' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter): Tms.Adapter/Utils/Replacer.cs#L7
Possible null reference return.
validate (./Tms.Adapter): Tms.Adapter/Adapter.cs#L21
Possible null reference assignment.
validate (./Tms.Adapter): Tms.Adapter/Adapter.cs#L23
Possible null reference assignment.
validate (./Tms.Adapter): Tms.Adapter/Models/Link.cs#L7
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter): Tms.Adapter/Models/Link.cs#L9
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter): Tms.Adapter/Models/Link.cs#L11
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter): Tms.Adapter/Models/File.cs#L5
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter): Tms.Adapter/Models/File.cs#L6
Non-nullable property 'Content' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter.Core)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Client/Converter.cs#L57
Possible null reference assignment.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Client/Converter.cs#L110
Possible null reference assignment.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Client/Converter.cs#L111
Possible null reference assignment.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Client/Converter.cs#L124
Possible null reference assignment.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Client/Converter.cs#L125
Possible null reference assignment.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Client/TmsClient.cs#L82
Possible null reference assignment.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Client/TmsClient.cs#L83
Possible null reference assignment.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Configurator/TmsSettings.cs#L5
Non-nullable field '_url' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Configurator/TmsSettings.cs#L13
Non-nullable property 'PrivateToken' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter.Core): Tms.Adapter.Core/Configurator/TmsSettings.cs#L14
Non-nullable property 'ProjectId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./Tms.Adapter.CoreTests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Configurator/TmsSettings.cs#L5
Non-nullable field '_url' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Configurator/TmsSettings.cs#L13
Non-nullable property 'PrivateToken' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Configurator/TmsSettings.cs#L14
Non-nullable property 'ProjectId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Configurator/TmsSettings.cs#L15
Non-nullable property 'ConfigurationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Configurator/TmsSettings.cs#L16
Non-nullable property 'TestRunId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Configurator/TmsSettings.cs#L17
Non-nullable property 'TestRunName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Client/Converter.cs#L57
Possible null reference assignment.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Client/TmsClient.cs#L82
Possible null reference assignment.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Client/TmsClient.cs#L83
Possible null reference assignment.
test (./Tms.Adapter.CoreTests): Tms.Adapter.Core/Client/Converter.cs#L110
Possible null reference assignment.
validate (./TmsRunner)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
validate (./TmsRunner): Tms.Adapter/Attributes/StepAttribute.cs#L144
Cannot convert null literal to non-nullable reference type.
validate (./TmsRunner): Tms.Adapter/Utils/Replacer.cs#L7
Possible null reference return.
validate (./TmsRunner): Tms.Adapter/Models/StepResult.cs#L9
Non-nullable property 'Outcome' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./TmsRunner): Tms.Adapter/Adapter.cs#L21
Possible null reference assignment.
validate (./TmsRunner): Tms.Adapter/Adapter.cs#L23
Possible null reference assignment.
validate (./TmsRunner): Tms.Adapter/Models/File.cs#L5
Non-nullable property 'Name' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./TmsRunner): Tms.Adapter/Models/File.cs#L6
Non-nullable property 'Content' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./TmsRunner): Tms.Adapter/Models/File.cs#L7
Non-nullable property 'CallerMemberName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./TmsRunner): Tms.Adapter/Models/File.cs#L8
Non-nullable property 'PathToFile' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./TmsRunner): Tms.Adapter/Models/Link.cs#L7
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter.XUnit)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Configurator/TmsSettings.cs#L5
Non-nullable field '_url' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Configurator/TmsSettings.cs#L13
Non-nullable property 'PrivateToken' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Configurator/TmsSettings.cs#L14
Non-nullable property 'ProjectId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Configurator/TmsSettings.cs#L15
Non-nullable property 'ConfigurationId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Configurator/TmsSettings.cs#L16
Non-nullable property 'TestRunId' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Configurator/TmsSettings.cs#L17
Non-nullable property 'TestRunName' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Logger/LoggerFactory.cs#L9
Non-nullable field '_logger' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Client/Converter.cs#L57
Possible null reference assignment.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Client/TmsClient.cs#L82
Possible null reference assignment.
validate (./Tms.Adapter.XUnit): Tms.Adapter.Core/Client/TmsClient.cs#L83
Possible null reference assignment.
test (./TmsRunnerTests)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (./TmsRunnerTests): Tms.Adapter/Attributes/StepAttribute.cs#L144
Cannot convert null literal to non-nullable reference type.
test (./TmsRunnerTests): Tms.Adapter/Models/StepResult.cs#L9
Non-nullable property 'Outcome' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./TmsRunnerTests): Tms.Adapter/Utils/Replacer.cs#L7
Possible null reference return.
test (./TmsRunnerTests): Tms.Adapter/Adapter.cs#L21
Possible null reference assignment.
test (./TmsRunnerTests): Tms.Adapter/Adapter.cs#L23
Possible null reference assignment.
test (./TmsRunnerTests): Tms.Adapter/Attributes/LinksAttribute.cs#L14
Possible null reference assignment.
test (./TmsRunnerTests): Tms.Adapter/Attributes/LinksAttribute.cs#L15
Possible null reference assignment.
test (./TmsRunnerTests): Tms.Adapter/Models/Link.cs#L7
Non-nullable property 'Title' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./TmsRunnerTests): Tms.Adapter/Models/Link.cs#L9
Non-nullable property 'Url' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
test (./TmsRunnerTests): Tms.Adapter/Models/Link.cs#L11
Non-nullable property 'Description' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.