rust-payjoin icon indicating copy to clipboard operation
rust-payjoin copied to clipboard

Expanding Test Coverage

Open benalleng opened this issue 4 months ago • 2 comments

With our test coverage at we are very close to getting >90% coverage.

Some action items to keep on top of to acheive better coverage

  • Sender and Receiver should be the primary focus before moving on to other parts of rust-payjoin
  • Ensuring our mutation coverage stays up-to-date with #928 and #910
  • Stray missing coverage or otherwise skipped test coverage like Debug and Display impls

Feel free to tag any test coverage related issues here.

benalleng avatar Aug 06 '25 17:08 benalleng

Along side Debug and Displays, we are also missing coverage on some critical From impls. Mainly testing going from ReplayableError to JsonReply. Related ticket: #932

arminsabouri avatar Aug 06 '25 17:08 arminsabouri

Somewhat related is https://github.com/payjoin/rust-payjoin/issues/844: expanding test coverage is great but we should ensure that our tests are high leverage and test important functionality/requirements

spacebear21 avatar Aug 07 '25 08:08 spacebear21