• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

caarloshenriq / rust-payjoin / 29831355222
86%
master: 86%

Build:
Build:
LAST BUILD BRANCH: feat/payjoin-nostd
DEFAULT BRANCH: master
Ran 21 Jul 2026 12:48PM UTC
Jobs 1
Files 65
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Jul 2026 12:35PM UTC coverage: 85.722%. Remained the same
29831355222

push

github

caarloshenriq
Add e2e round trip tests for payjoin v1 and v2

Add payjoin/tests/e2e.rs with two independent round trip tests, split
into cfg-gated submodules since v1 and v2 have different feature
requirements:

- v1: runs entirely in memory under the no_std-compatible alloc,v1
  feature set. Drives the full sender and receiver typestate chain
  with no OHTTP or directory involved, since v1 is plain
  request/response bytes. This is the test that actually exercises
  the no_std surface end to end, not just at compile time.

- v2: cannot run under that restricted feature set, since the sender
  side of v2 still requires v2-ohttp/std. Instead this proves that
  the receiver side, driven by a real OHTTP-encapsulated request from
  a real sender, walks the same typestate chain already verified to
  compile for thumbv7em-none-eabihf. Uses a small in-memory stand-in
  for the directory and OHTTP relay (decapsulate, route GET/POST
  against a single-message mailbox, re-encapsulate) instead of the
  real local servers tests/integration.rs already spins up, so it
  stays fast and dependency-free.

Both tests have the receiver contribute a real input from its own
UTXO before finalizing, rather than only fee-bumping the original
PSBT, so they exercise an actual payjoin (combined inputs from both
parties) and not just protocol plumbing.

Wire both into contrib/test.sh: the v2 module runs as part of the
--all-features e2e run, and v1 gets its own explicit
--no-default-features --features alloc,v1 invocation, since that's
the only place the no_std guarantee is actually exercised at runtime
rather than just checked at compile time.

13731 of 16018 relevant lines covered (85.72%)

344.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 29831355222.1 21 Jul 2026 12:48PM UTC 65
85.72
GitHub Action Run
Source Files on build 29831355222
  • Tree
  • List 65
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29831355222
  • fe7a432c on github
  • Prev Build on feat/payjoin-nostd (#29760717174)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc