Skip to content

Add unit tests for StringExtensions. #13

Add unit tests for StringExtensions.

Add unit tests for StringExtensions. #13

Triggered via push February 1, 2024 20:10
Status Success
Total duration 34s
Artifacts

dotnet.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 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/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/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)