Skip to content

Add more unit tests for StringVisitor. #14

Add more unit tests for StringVisitor.

Add more unit tests for StringVisitor. #14

Triggered via push February 1, 2024 20:36
Status Success
Total duration 29s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, codecov/codecov-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: Behavioral/DesignPatterns.Visitor/Models/Size.cs#L6
Non-nullable property 'Unit' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Behavioral/DesignPatterns.Visitor.UnitTests/SizeVisitorTests.cs#L14
Cannot convert null literal to non-nullable reference type.
build: Behavioral/DesignPatterns.Visitor.UnitTests/StringExtensionsTests.cs#L15
Theory method 'GivenSize_WhenCallVisit_ThenResultAsExpected' on test class 'StringExtensionsTests' does not use parameter 'expectedSizeInBytes'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
build: Behavioral/DesignPatterns.Visitor/Models/Size.cs#L6
Non-nullable property 'Unit' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
build: Behavioral/DesignPatterns.Visitor.UnitTests/SizeVisitorTests.cs#L14
Cannot convert null literal to non-nullable reference type.
build: Behavioral/DesignPatterns.Visitor.UnitTests/StringExtensionsTests.cs#L15
Theory method 'GivenSize_WhenCallVisit_ThenResultAsExpected' on test class 'StringExtensionsTests' does not use parameter 'expectedSizeInBytes'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)