Replies: 1 comment 1 reply
-
|
The scope is not clear for me, will it test Krux or Embit? Can you define a clear outcome/goal of the project? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Last months i was working on idea of run embit through an integration test with a bitcoin-core on regtest. Built some experiments with a pet-project[^1] through studying the floresta's test framework that @joaozinhom made[^2] (a impressive refactor on previous test framework).
It have a nice proposition (correct me if is incorrect): use pytest fixtures to run daemons and pytest will deal with threading. So i glued it on that on https://github.com/qlrd/bornal as flags on pytest.
While i do not want to replace any custom framework on any project, neither claim what was already did (is FOSS anyway) (EDIT: but) i faced with a "make plumbing problem" -- a minimal compilation, correct logs/data folders, thread safety between many nodes[^3] (mostly because multiple IO on
data/logs), and other challenges (before available local ports) -- before real integration tests. So i think it's worth to share what i learned in floresta to krux ecosystem.Saw some events currently on our repo and don't wanna bloat the project with a
tests/integrationfolder on repo, so IMO this could be added as aselfcustody/krux-integration-testsusing thatbornalas module. WDYT @odudex @jdlcdl @kkdao @bitcoisas (and joao)--
[^1] https://github.com/qlrd/embln.
[^2] https://github.com/getfloresta/Floresta/tree/master/tests
[^3] I'm against do it with pre-built binaries but understand who choose that, it's boring and have a CI pumbling on cache too (i expect to solve with some GH action)
Beta Was this translation helpful? Give feedback.
All reactions