Documentation
¶
Overview ¶
Command davsession records a scripted write session (internal/davsession) against a provider's servers, for a replay test (docs/design/testing.md, DAV and Tasks recordings). It signs in as one of maild's accounts, with the credentials a snapshot of maild's database and the keyring hold, but syncs into a new store of its own, so the trace starts with a first sync, as a replay test's account does. Each step is one write and the pass that sends it, on a clock stopped at the start.
The raw trace holds the account's contacts, calendars and tasks: scrub it with tools/davrec before it leaves the machine. The session deletes what it makes; when it fails partway, it says what may be left.
go run ./tools/davsession -account 6 -o /tmp/session.trace google go run ./tools/davsession -account 7 -o /tmp/session.trace microsoft