End to End Testing for LDK node implementations #1198
Replies: 5 comments 4 replies
-
Pretty tricky to do in a generic way - given users have their own chain sync backends and APIs (or UIs) to send and receive payments/open channels. This may end up being easier to address with a simple "at least test these scenarios" checklist. Probably (a) open channel, send/receive payment(s), force-close channel, (b) check that the force-close was claimed, etc. The really hard part is helping users ensure their reorg handling code is correct. |
Beta Was this translation helpful? Give feedback.
-
Is part of the motivation to ensure that a |
Beta Was this translation helpful? Give feedback.
-
The motivation here is basically we should have some way of helping users test their application end-to-end, giving them some confidence that they've implemented the LDK traits and calls correctly. |
Beta Was this translation helpful? Give feedback.
-
This may be useful to you: https://github.com/Kixunil/lnpbp-testkit |
Beta Was this translation helpful? Give feedback.
-
I was thinking of making the LDK functional test suite runnable with a configurable node and invoked from outside the lightning create. It would require a custom test framework. Cc @ksedgwic |
Beta Was this translation helpful? Give feedback.
-
Fast, easy and reliable testing for anything that runs using LDK.
Would be nice to setup a way to automate testing different on chain scenarios with the different backends to make sure you’re fetching and feeding the data in correctly.
Beta Was this translation helpful? Give feedback.
All reactions