mev-boost icon indicating copy to clipboard operation
mev-boost copied to clipboard

Add unit tests to test-cli

Open MCarlomagno opened this issue 2 years ago • 1 comments

Description

In order to improve the quality of test-cli pkg, it would be good to add some unit tests for:

  • cmd/test-cli/beacon.go
  • cmd/test-cli/engine.go
  • cmd/test-cli/requests.go
  • cmd/test-cli/validator.go

Unfortunately, for most of those scripts it is required to refactor the code in order to inject dependencies, adding mocks and improving testability

MCarlomagno avatar Oct 19 '23 22:10 MCarlomagno

test-cli is not actively maintained. are you using it?

metachris avatar Oct 20 '23 18:10 metachris