-
Notifications
You must be signed in to change notification settings - Fork 4
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 3 #725
base: v9.0-preview
Are you sure you want to change the base?
Migrate to xUnit 3 #725
Conversation
f3d2342
to
d9c57d2
Compare
test: Run #2061
🎉 All tests passed!🔄 This comment has been updated |
ca85351
to
d78856b
Compare
Copilot
AI
left a comment
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 43 out of 58 changed files in this pull request and generated 1 comment.
Files not reviewed (15)
- .config/dotnet-tools.json: Language not supported
- .editorconfig: Language not supported
- .github/workflows/publish_unit_tests.yml: Language not supported
- Directory.Packages.props: Language not supported
- Docker.Directory.Build.props: Language not supported
- LeanCode.CoreLibrary.sln: Language not supported
- src/Testing/LeanCode.IntegrationTestHelpers/LeanCode.IntegrationTestHelpers.csproj: Language not supported
- test/Directory.Build.props: Language not supported
- test/CQRS/LeanCode.CQRS.AspNetCore.Tests/CQRSEndpointsDataSourceTests.cs: Evaluated as low risk
- test/CQRS/LeanCode.CQRS.AspNetCore.Tests/Local/MiddlewareBasedExecutorIntegrationTests.cs: Evaluated as low risk
- test/CQRS/LeanCode.CQRS.AspNetCore.Tests/Middleware/CQRSMiddlewareTestBase.cs: Evaluated as low risk
- test/CQRS/LeanCode.CQRS.MassTransitRelay.Tests/Integration/TestApp.cs: Evaluated as low risk
- test/CQRS/LeanCode.CQRS.MassTransitRelay.Tests/Middleware/EventsPublisherFilterTests.cs: Evaluated as low risk
- test/CQRS/LeanCode.CQRS.MassTransitRelay.Tests/ScopedFiltersTests.cs: Evaluated as low risk
- test/Infrastructure/LeanCode.AuditLogs.Tests/AuditLogsIntegrationTests.cs: Evaluated as low risk
Comments suppressed due to low confidence (3)
.github/workflows/core_build_publish.yml:93
- Disabling the formatting check might lead to inconsistent code formatting. Ensure this change is intentional.
if: false
.github/workflows/core_build_publish.yml:135
- Removing the installation of trx2junit and related test result conversion might affect how test results are processed and reported. Ensure this change is intentional.
- name: Install trx2junit
test/Infrastructure/LeanCode.Azure.Tests/AzureStorageAuditLogIntegrationTests.cs:31
- Using 'https://UNSET.table.core.windows.net/' as a default value for AzureTableStorageServiceUriKey might mask configuration issues. Consider handling missing environment variables more explicitly.
Environment.GetEnvironmentVariable(Env.AzureTableStorageServiceUriKey) ?? "https://UNSET.table.core.windows.net/"
@@ -19,18 +20,21 @@ public AzureStorageAuditLogIntegrationTests() | |||
{ | |||
var credential = Env.GetTokenCredential(); | |||
blobServiceClient = new BlobServiceClient( | |||
new Uri(Environment.GetEnvironmentVariable(Env.AzureBlobStorageServiceUriKey)!), | |||
new Uri(Environment.GetEnvironmentVariable(Env.AzureBlobStorageServiceUriKey) ?? "https://unset"), |
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.
Using 'https://unset' as a default value for AzureBlobStorageServiceUriKey might mask configuration issues. Consider handling missing environment variables more explicitly.
new Uri(Environment.GetEnvironmentVariable(Env.AzureBlobStorageServiceUriKey) ?? "https://unset"), | |
new Uri(Environment.GetEnvironmentVariable(Env.AzureBlobStorageServiceUriKey) ?? throw new InvalidOperationException("AzureBlobStorageServiceUriKey is not set")), |
Copilot is powered by AI, so mistakes are possible. Review output carefully before use.
No description provided.