cspr-rad / kairos

Apache License 2.0
2 stars 0 forks source link

kairos-test-utils/kairos: refactor to use kairos_server::run instead of binary #90

Closed marijanp closed 4 months ago

marijanp commented 4 months ago

Things done

Motivation is that we need this when testing the CLI, and this resolves a chicken-and-egg problem with the kairos-server cli

github-actions[bot] commented 4 months ago

File Coverage
All files 52% :x:
kairos-server/src/state/transactions/batch_state.rs 42% :x:
kairos-server/src/state/transactions.rs 40% :x:
kairos-server/src/state/trie.rs 35% :x:
kairos-test-utils/src/cctl.rs 87% :white_check_mark:
kairos-tx/src/asn.rs 48% :x:
kairos-tx/src/error.rs 0% :x:
kairos-test-utils/src/cctl/parsers.rs 66% :white_check_mark:
kairos-server/src/config.rs 0% :x:
kairos-server/src/errors.rs 12% :x:
kairos-server/src/state.rs 90% :white_check_mark:
kairos-server/src/utils.rs 22% :x:
kairos-server/src/routes/deposit.rs 88% :white_check_mark:
kairos-server/src/routes/transfer.rs 90% :white_check_mark:
kairos-crypto/src/implementations/casper.rs 6% :x:
kairos-server/tests/transactions.rs 85% :white_check_mark:

Minimum allowed coverage is 60%

Generated by :monkey: cobertura-action against 525c0ff58f7cd5a57ef63ecb6f66ca73ad29d277