Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a77f75a
Add UTS test specs for LiveObjects path-based API (~330 tests)
paddybyers May 13, 2026
3de4a4f
Delegate proxy port assignment to uts-proxy in all test specs
paddybyers May 14, 2026
2fba05e
Update UTS test specs to match LiveObjects path-based API spec (a397e34)
paddybyers May 27, 2026
86e9636
UTS: add missing assertions
paddybyers Jun 5, 2026
e57d340
UTS: correct sandbox endpoint domain name
paddybyers Jun 5, 2026
add9398
UTS: remove spurious Map.clear() test
paddybyers Jun 5, 2026
3ad5a41
UTS: remove unnecessary test
paddybyers Jun 5, 2026
e77bdb8
UTS: delete integration GC test — duplicates unit tests
paddybyers Jun 5, 2026
eaa6983
UTS: add Protocol Variants to LiveObjects integration tests
paddybyers Jun 5, 2026
99421b7
UTS: fix root.increment() → root.get("score").increment()
paddybyers Jun 5, 2026
8f52447
UTS: fix InstanceSubscriptionEvent assertions in live_object_subscribe
paddybyers Jun 5, 2026
0b15af8
UTS: move appliedOnAckSerials/bufferedObjectOperations to RealtimeObject
paddybyers Jun 5, 2026
f7ace4c
UTS: fix RTPO19b subscribe-on-detached test
paddybyers Jun 5, 2026
d7d75e7
UTS: rewrite RTO20f to use observable behaviour
paddybyers Jun 5, 2026
e3614cd
UTS: rewrite RTO5c9 re-sync test to use observable behaviour
paddybyers Jun 5, 2026
6bcf593
UTS: add OBJECT, OBJECT_SYNC, ANNOTATION to proxy action numbers table
paddybyers Jun 5, 2026
051bb95
fix(uts/objects): align REST fixture provisioning with V2 objects API
sacOO7 Jun 26, 2026
9883347
fix(uts): align provision_objects_via_rest host with the nonprod sandbox
sacOO7 Jun 26, 2026
356b57f
fix(uts): route objects integration clients to the nonprod sandbox
sacOO7 Jun 26, 2026
4eb5e0d
Removed non-required `objects_batch_spec.md` from the liveobjects uts…
sacOO7 Jun 26, 2026
e10eefb
Added missing endpoint and autoConnect to objects_faults spec
sacOO7 Jun 26, 2026
61f16f8
Merge pull request #497 from ably/fix/uts-liveobjects-rest-provisioning
sacOO7 Jun 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion uts/docs/integration-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ Proxy tests additionally set up a proxy session per test or group of tests. See
BEFORE EACH TEST:
session = create_proxy_session(
endpoint: "nonprod:sandbox",
Comment thread
paddybyers marked this conversation as resolved.
port: allocated_port,
rules: [ ...initial rules... ]
)

Expand Down Expand Up @@ -296,6 +295,10 @@ The following integration test specs are annotated with `## Protocol Variants`:
- `realtime/integration/mutable_messages_test.md`
- `realtime/integration/delta_decoding_test.md`

**LiveObjects:**
- `objects/integration/objects_lifecycle_test.md`
- `objects/integration/objects_sync_test.md`

## Writing Proxy Tests

The proxy mediates between the SDK and the real Ably server. It is not a mock server. Tests should be written to rely on actual server responses as much as possible, with the proxy intervening only where necessary to create the specific fault or error condition under test.
Expand Down
1 change: 0 additions & 1 deletion uts/docs/writing-test-specs.md
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ Tests that [behaviour] when the proxy injects [fault].
```pseudo
session = create_proxy_session(
target: TargetConfig(realtimeHost: "sandbox.realtime.ably-nonprod.net", restHost: "sandbox.realtime.ably-nonprod.net"),
port: allocated_port,
rules: [{
"match": { ... },
"action": { ... },
Expand Down
385 changes: 385 additions & 0 deletions uts/objects/PLAN.md

Large diffs are not rendered by default.

Loading
Loading