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. |
|
Is part of the motivation to ensure that a |
|
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. |
|
This may be useful to you: https://github.com/Kixunil/lnpbp-testkit |
|
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 |
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions