input-output-hk / jormungandr

privacy voting blockchain node
https://input-output-hk.github.io/jormungandr/
Apache License 2.0
365 stars 132 forks source link

jormungandr-integration-tests break 'cargo test' #624

Open mzabaluev opened 5 years ago

mzabaluev commented 5 years ago

The current integration tests depend on jormungandr and jcli binaries to be pre-built in the target output directory. This does not happen if cargo test is run without a preceding cargo build that builds the binaries.

To Reproduce

  1. Change into the workspace source directory in the shell.
  2. Run cargo clean.
  3. Run cargo test.

Expected behavior

Same result as cargo clean; cargo build && cargo test would produce.

mzabaluev commented 5 years ago

Possible solutions:

ghost commented 4 years ago

I hit on this, calling cargo test with the assumption that everything necessary will be done. It failed, and I thought "well, guess I have to look for the test-docu now". I did not, as I was to bored.

Later i tried again, wondering "why does it work now?" (It seems I used cargo build in between). Then I saw this issue.