v0.35.1
Syncs the Elixir port to Python guava-sdk 0.35.1.
New public API
Guava.Testing.MockCall(with aGuava.Testing.mock_call/1shortcut) — an in-memoryGuava.Callfor fast, offline, deterministic unit tests of agent callbacks. Call a handler directly and assert on what it emits:commands/1(command structs) /command_maps/1(wire maps). Pre-seed reads a handler makes withset_field/3,put_variable/3, or the:fields/:variablesoptions; drop recorded commands between simulated turns withclear/1. Implemented idiomatically — a%Guava.Call{}wired to a recorder process and a seeded ETS store, not aCallsubclass.- This ports the previously-missed
guava.testing.MockCallpublic API, bringing the testing surface to parity alongside the existingGuava.Testing.session/3/roleplay/3.
Wire protocol
- No changes. guava-sdk 0.35.1 introduced no wire or behavior changes relevant to the port (all upstream deltas were N/A); it surfaced the standing MockCall gap.
Housekeeping
- Retired the internal
Guava.Test.CommandRecorder;call_test.exsnow dogfoodsMockCall. - Docs: new unit-testing section in the testing guide;
PARITY.mdcrosswalk updated. Version markers bumped to 0.35.1. See PARITY.md.
Install:
{:guava, "~> 0.35"}