Skip to content

Add end-to-end test framework#128

Open
benthecarman wants to merge 1 commit intolightningdevkit:mainfrom
benthecarman:e2e-tests
Open

Add end-to-end test framework#128
benthecarman wants to merge 1 commit intolightningdevkit:mainfrom
benthecarman:e2e-tests

Conversation

@benthecarman
Copy link
Collaborator

Closes #113

Introduces an e2e-tests crate that spins up real bitcoind and ldk-server processes to test the cli -> ldk-server flow. A build.rs automatically compiles ldk-server (with events-rabbitmq) and ldk-server-cli into a separate target directory, so tests work without manual pre-building.

Tests cover all cli commands and most rabbitmq events.

Claude helped with some of the boilerplate code

Found a small place we can make the bolt12 cli better

Introduces an e2e-tests crate that spins up real bitcoind and ldk-server
processes to test the cli -> ldk-server flow. A build.rs automatically compiles
ldk-server (with events-rabbitmq) and ldk-server-cli into a separate
target directory, so tests work without manual pre-building.

Tests cover all cli commands and most rabbitmq events.

Claude helped with some of the boilerplate code
@ldk-reviews-bot
Copy link

ldk-reviews-bot commented Feb 19, 2026

I've assigned @valentinewallace as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.


impl TestBitcoind {
pub fn new() -> Self {
let bitcoind = Node::from_downloaded().unwrap();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we enable caching like we do in LDK/LDK Node so we don't needlessly hammer bitcoincore.org with every CI job?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

End-to-end testing for ldk-server

3 participants

Comments