Add comprehensive unit test suite and CI workflow for SafariBooksDownloader #2
Annotations
10 warnings
|
Test:
src/SafariBooksDownloader.UnitTests/Utils/PathUtilsTests.cs#L42
Null should not be used for type parameter 'input' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
|
|
Test:
src/SafariBooksDownloader.UnitTests/Utils/PathUtilsTests.cs#L11
Null should not be used for type parameter 'input' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
|
|
Test:
src/SafariBooksDownloader/Program.cs#L64
The type 'System.Text.Json.JsonDocument?' cannot be used as type parameter 'T' in the generic type or method 'Display.ExitReturn<T>(string)'. Nullability of type argument 'System.Text.Json.JsonDocument?' doesn't match 'class' constraint.
|
|
Test:
src/SafariBooksDownloader/Services/HtmlProcessor.cs#L6
Parameter 'client' is unread.
|
|
Test:
src/SafariBooksDownloader.UnitTests/Services/EpubBuilderTests.cs#L155
Null should not be used for type parameter 'expected' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
|
|
Test:
src/SafariBooksDownloader.UnitTests/Services/EpubBuilderTests.cs#L155
Null should not be used for type parameter 'input' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
|
|
Test:
src/SafariBooksDownloader.UnitTests/Utils/PathUtilsTests.cs#L42
Null should not be used for type parameter 'input' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
|
|
Test:
src/SafariBooksDownloader.UnitTests/Utils/PathUtilsTests.cs#L11
Null should not be used for type parameter 'input' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
|
|
Test:
src/SafariBooksDownloader/Program.cs#L64
The type 'System.Text.Json.JsonDocument?' cannot be used as type parameter 'T' in the generic type or method 'Display.ExitReturn<T>(string)'. Nullability of type argument 'System.Text.Json.JsonDocument?' doesn't match 'class' constraint.
|
|
Test:
src/SafariBooksDownloader/Services/HtmlProcessor.cs#L6
Parameter 'client' is unread.
|