Skip to content
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

Open
wants to merge 11 commits into
base: v9.0-preview
Choose a base branch
from
Open

Migrate to xUnit 3 #725

wants to merge 11 commits into from

Conversation

jakubfijalkowski
Copy link
Member

No description provided.

@jakubfijalkowski jakubfijalkowski changed the base branch from v9.0-preview to feature/central-package-mgmt December 20, 2024 12:15
Base automatically changed from feature/central-package-mgmt to v9.0-preview December 20, 2024 12:20
Copy link

github-actions bot commented Dec 20, 2024

test: Run #2061

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Pending ⏳ Other ❓ Flaky 🍂 Duration ⏱️
801 770 0 1 30 0 0 216ms

🎉 All tests passed!

Github Test Reporter

🔄 This comment has been updated

Copy link

@Copilot Copilot AI left a 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"),
Copy link
Preview

Copilot AI Dec 20, 2024

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.

Suggested change
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.

Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant