kiln-fired / kiln-operator

1 stars 2 forks source link

Tests for BitcoinNode and LightingNode controllers #26

Closed davgordo closed 1 year ago

davgordo commented 1 year ago

The testing pattern established with Ginkgo for the ChainKey controller is the test structure that I like. This should be done for the BitcoinNode and LightningNode controllers.

Since there is some RPC interaction, there will be an additional challenge to mock the RPC endpoints, but ultimately, a good strategy for mocking those endpoints will support a faster testing cycle. Currently something like kubefwd is required for a local testing cycle due to the RPC interactions.

davgordo commented 1 year ago

Some partial coverage for the BitcoinNode controller established with #25