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
* rust and java tests for e2e and convergence testing
* add: integration comparo between rust and java
* add: handling complex details - convergence on array of elements
* fix: bump to preview 2
* fix: remove any and all element order metadata - and optimize the stable key id
-**DQL Integration**: Uses Ditto Query Language for all operations
415
+
-**Observers & Subscriptions**: Real-time change notifications between peers
416
+
417
+
#### Running E2E Tests
418
+
419
+
```bash
420
+
# Set up Ditto environment variables
421
+
export DITTO_APP_ID="your-app-id"
422
+
export DITTO_PLAYGROUND_TOKEN="your-token"
423
+
424
+
# Run single-peer E2E tests
425
+
cargo test e2e_xml_roundtrip
426
+
cargo test e2e_xml_examples_roundtrip
427
+
428
+
# Run multi-peer E2E test
429
+
cargo test e2e_multi_peer_mapitem_sync_test
430
+
431
+
# Run with specific XML file
432
+
E2E_XML_FILE="example.xml" cargo test e2e_xml_examples_roundtrip
433
+
```
434
+
435
+
#### E2E Test Features
436
+
437
+
-**Real Ditto Connection**: Tests against actual Ditto playground/cloud
438
+
-**Multiple XML Examples**: Processes all XML files in `schema/example_xml/`
439
+
-**Collection Management**: Automatically handles different collection types based on document type
440
+
-**DQL Integration**: Uses Ditto Query Language for document operations
441
+
-**Semantic XML Comparison**: Handles XML formatting differences intelligently
442
+
-**Peer-to-Peer Sync**: Validates document synchronization between multiple Ditto instances
443
+
-**Conflict Resolution**: Tests CRDT merge behavior under realistic conditions
444
+
-**Error Handling**: Comprehensive error reporting for debugging
445
+
446
+
The E2E tests ensure that the library works correctly in production-like environments with real Ditto instances and provides confidence in the complete CoT → Ditto → CoT workflow, including distributed scenarios with multiple peers.
0 commit comments