docs.rs failed to build vta-test-support-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
vta-test-support
A mock Verifiable Trust Agent for other crates' tests.
MockVta: a real VTA (the production router over in-memory state) serving on127.0.0.1:<random port>, shut down on drop.start,start_provisionable(a self-resolvingdid:keyVTA with the keysprovision/integrationneeds) andstart_with_webvh_host(plus a stub DID hosting service, so a server-manageddid:webvhround-trips).transport-harness(feature):MockVta::start_with_transports— an embedded mediator, adid:peer:2VTA advertising DIDComm and TSP at it, and the production inbound loop, so a test drives a Trust Task over either transport.- Everything in
vta_service::test_support(the in-memory store,build_test_app,TestAppContext, the signing helpers), re-exported.
Test-only — never a production dependency.
[]
= { = "0.1", = ["transport-harness"] }
# async
Until #2570 this lived in vta_service::test_support; a consumer moves from
vta_service::test_support::MockVta to vta_test_support::MockVta. The fixtures
vta-service's own unit tests use stay in vta-service, because a unit test cannot
take a fixture from a crate that depends on the crate under test.