-
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to xunit v3 #839
Migrate to xunit v3 #839
Conversation
Migrate to xunit v3 for tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 18 changed files in this pull request and generated 1 comment.
Files not reviewed (13)
- Directory.Build.props: Language not supported
- Directory.Packages.props: Language not supported
- samples/MathsFunctions.Tests/MathsFunctions.Tests.csproj: Language not supported
- samples/MinimalApi.Tests/MinimalApi.Tests.csproj: Language not supported
- tests/AwsLambdaTestServer.Tests/MartinCostello.Testing.AwsLambdaTestServer.Tests.csproj: Language not supported
- samples/MinimalApi.Tests/ApiTests.cs: Evaluated as low risk
- samples/MinimalApi.Tests/HttpLambdaTestServer.cs: Evaluated as low risk
- tests/AwsLambdaTestServer.Tests/AssemblyFixture.cs: Evaluated as low risk
- tests/AwsLambdaTestServer.Tests/AwsIntegrationTests.cs: Evaluated as low risk
- tests/AwsLambdaTestServer.Tests/Examples.cs: Evaluated as low risk
- tests/AwsLambdaTestServer.Tests/HttpLambdaTestServer.cs: Evaluated as low risk
- tests/AwsLambdaTestServer.Tests/ReverseFunctionWithCustomOptionsTests.cs: Evaluated as low risk
- tests/AwsLambdaTestServer.Tests/ReverseFunctionWithMobileSdkTests.cs: Evaluated as low risk
Comments suppressed due to low confidence (2)
tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs:21
- The use of ValueTask here might be inappropriate if DisposeAsync is expected to be awaited multiple times or if it is part of a public API. Consider reverting to Task.
public async ValueTask DisposeAsync()
tests/AwsLambdaTestServer.Tests/HttpLambdaTestServerTests.cs:31
- The use of ValueTask here might be inappropriate if InitializeAsync is expected to be awaited multiple times or if it is part of a public API. Consider reverting to Task.
public async ValueTask InitializeAsync()
public static class LambdaTestServerCollection | ||
{ | ||
} | ||
public class LambdaTestServerCollection; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The class declaration should not end with a semicolon. It should be defined with curly braces.
public class LambdaTestServerCollection; | |
public class LambdaTestServerCollection { } |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #839 +/- ##
=======================================
Coverage 96.88% 96.88%
=======================================
Files 8 8
Lines 289 289
Branches 32 32
=======================================
Hits 280 280
Misses 3 3
Partials 6 6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Migrate to xunit v3 for tests.