Skip to content

Updating VectorData conformance tests and xUnit version#38

Merged
adamsitnik merged 5 commits into
mainfrom
x3
Jul 24, 2026
Merged

Updating VectorData conformance tests and xUnit version#38
adamsitnik merged 5 commits into
mainfrom
x3

Conversation

@adamsitnik

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the MEVD test projects to use centrally-managed xUnit v3 and updates VectorData conformance-test dependencies, along with small conformance-test behavior tweaks for Cosmos emulator scenarios.

Changes:

  • Centralizes test dependencies for MEVD tests (Microsoft.NET.Test.Sdk, xunit.v3, VS runner) via MEVD/test/Directory.Build.props and removes per-project references.
  • Updates central package versions (including VectorData Abstractions/ConformanceTests and xUnit v3) in Directory.Packages.props.
  • Updates CosmosNoSql conformance tests to use xUnit v3 runtime skip semantics instead of returning Task.CompletedTask for unsupported emulator behaviors.

Reviewed changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
MEVD/test/Weaviate.UnitTests/Weaviate.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/Weaviate.ConformanceTests/Weaviate.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/SqlServer.UnitTests/SqlServer.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/SqlServer.ConformanceTests/SqlServer.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/SqliteVec.UnitTests/SqliteVec.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/SqliteVec.ConformanceTests/SqliteVec.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/Redis.UnitTests/Redis.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/Redis.ConformanceTests/Redis.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/Qdrant.UnitTests/Qdrant.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/Qdrant.ConformanceTests/Qdrant.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/PgVector.UnitTests/PostgresSqlBuilderTests.cs Removes xUnit abstractions using as part of xUnit v3 migration.
MEVD/test/PgVector.UnitTests/PgVector.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/PgVector.ConformanceTests/PgVector.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/InMemory.UnitTests/InMemory.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/InMemory.ConformanceTests/InMemory.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/Directory.Build.props Adds centralized xUnit v3/test SDK references and related build settings/warnings.
MEVD/test/CosmosNoSql.UnitTests/CosmosNoSql.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSqlIndexKindTests.cs Switches to xUnit v3 runtime skip for emulator-incompatible tests.
MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSqlDynamicModelTests.cs Switches to xUnit v3 runtime skip for emulator-incompatible tests.
MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSqlDistanceFunctionTests.cs Switches to xUnit v3 runtime skip for emulator-incompatible tests.
MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSqlBasicModelTests.cs Switches to xUnit v3 runtime skip for emulator-incompatible tests.
MEVD/test/CosmosNoSql.ConformanceTests/CosmosNoSql.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/CosmosMongoDB.UnitTests/CosmosMongoDB.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/CosmosMongoDB.ConformanceTests/CosmosMongoDB.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/AzureAISearch.UnitTests/AzureAISearch.UnitTests.csproj Removes local test-package references in favor of centralized test deps.
MEVD/test/AzureAISearch.ConformanceTests/AzureAISearch.ConformanceTests.csproj Removes local test-package references in favor of centralized test deps.
Directory.Packages.props Updates centrally-managed package versions (incl. VectorData + xUnit v3).
CommunityToolkit.AI.slnx Adds MEVD/test/Directory.Build.props to the solution structure.
.github/workflows/mevd.yml Expands PR base-branch filter to include copilot/*.

Comment on lines +36 to +40
<!-- Explicitly pin VectorData.Abstractions to 10.8.0 (10.8.2 not yet on NuGet). -->
<!-- ConformanceTests 10.8.2 requires >= 10.8.2; NU1605 is suppressed above. -->
<PackageReference Include="Microsoft.Extensions.VectorData.Abstractions" />
<PackageReference Include="Microsoft.NET.Test.Sdk" />
<PackageReference Include="xunit.v3" />

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am aware of that, we are going to bump the versions very soon. It's a temporary workaround that does not affect what we ship.

@adamsitnik
adamsitnik merged commit 9c6c4e9 into main Jul 24, 2026
17 checks passed
@adamsitnik
adamsitnik deleted the x3 branch July 24, 2026 13:16
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.

3 participants