PoC of TUnit #285
Annotations
5 errors and 10 warnings
Build:
temp/MyTestApp/tests/Architecture.Tests/DomainTests.cs#L5
The type or namespace name 'Xunit' could not be found (are you missing a using directive or an assembly reference?)
|
Build:
temp/MyTestApp/tests/Architecture.Tests/DomainTests.cs#L9
The type or namespace name 'ITestOutputHelper' could not be found (are you missing a using directive or an assembly reference?)
|
Build:
temp/MyTestApp/tests/Architecture.Tests/DomainTests.cs#L5
The type or namespace name 'Xunit' could not be found (are you missing a using directive or an assembly reference?)
|
Build:
temp/MyTestApp/tests/Architecture.Tests/DomainTests.cs#L9
The type or namespace name 'ITestOutputHelper' could not be found (are you missing a using directive or an assembly reference?)
|
Build
Process completed with exit code 1.
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/Testing.cs#L20
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/SqlServerTestDatabase.cs#L22
Dereference of a possibly null reference.
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/CustomWebApplicationFactory.cs#L12
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/Testing.cs#L7
Make field readonly (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044)
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/Testing.cs#L26
Remove unused parameter 'context' if it is not part of a shipped public API (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0060)
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/Testing.cs#L20
Remove unused parameter 'context' if it is not part of a shipped public API (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0060)
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/Testing.cs#L20
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/SqlServerTestDatabase.cs#L22
Dereference of a possibly null reference.
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/CustomWebApplicationFactory.cs#L12
Fix formatting (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0055)
|
Build:
temp/MyTestApp/tests/WebApi.IntegrationTests/Common/Fixtures/Testing.cs#L7
Make field readonly (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0044)
|