Right now we need to build the binary inside the integration-test makefile rule. This is because the tests inside cli_tests.rs use the binary. We should move the CLI tests that use assert_cmd inside the miden-cli crate so that the tests crate doesn't require to build the binary.
How should it be done?
Internal crate tests should be created inside miden-cli that use the assert_cmd to directly use the binary. These tests are already written iniside tests/integration/cli_tests.rs.
When is this task done?
The task is done when:
we can run the integration tests inside the tests crate without building the cli before
we can run internal tests for miden-cli that use assert_cmd
Additional context
Comment where we talk about the temporary fix of building the binary before the integration tests.
What should be done?
Right now we need to build the binary inside the
integration-test
makefile rule. This is because the tests insidecli_tests.rs
use the binary. We should move the CLI tests that useassert_cmd
inside themiden-cli
crate so that thetests
crate doesn't require to build the binary.How should it be done?
Internal crate tests should be created inside
miden-cli
that use theassert_cmd
to directly use the binary. These tests are already written inisidetests/integration/cli_tests.rs
.When is this task done?
The task is done when:
tests
crate without building the cli beforemiden-cli
that useassert_cmd
Additional context
Comment where we talk about the temporary fix of building the binary before the integration tests.