You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Successfully migrated all 85+ test files from JUnit 4 to JUnit 5
- All tests now compile successfully with JUnit 5
- Removed JUnit 4 and junit-vintage-engine dependencies
- Updated all annotations and assertions
- Fixed all import statements
- Removed TestRule interface usage
Remaining: 14 test failures to fix (mainly incorrect @test(expected=...) conversions)
These tests expect exceptions but were incorrectly migrated from @test(expected=Exception.class) syntax
Co-authored-by: Netyyyy <[email protected]>
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/common/ExpressionResolverUnitTest.java
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/common/MemoizerUnitTest.java
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/config/AbstractCosmosConfigurationIT.java
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/core/CosmosTemplateIllegalTest.java
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/core/CosmosTemplatePartitionIT.java
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/core/MultiTenantContainerCosmosFactoryIT.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ public void testGetContainerFunctionality() {
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/core/MultiTenantDBCosmosFactoryIT.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -106,7 +106,7 @@ public void testGetDatabaseFunctionality() {
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplateIT.java
+46-46Lines changed: 46 additions & 46 deletions
Original file line number
Diff line number
Diff line change
@@ -246,7 +246,7 @@ public void testInsertDocShouldNotPersistTransientFields() {
Copy file name to clipboardExpand all lines: sdk/spring/azure-spring-data-cosmos/src/test/java/com/azure/spring/data/cosmos/core/ReactiveCosmosTemplatePartitionIT.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -103,8 +103,8 @@ public void testFindWithPartition() {
0 commit comments