You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could not compile validation.rs integration test file :(
cargo test --package sbtc --test integration -- validation::tx_validation_from_mempool --exact --show-output --ignored
Compiling sbtc v0.1.0 (/Users/stacks-sbtc/sbtc)
error[E0433]: failed to resolve: could not find `testing` in `sbtc`
--> sbtc/tests/integration/validation.rs:34:11
|
34 | use sbtc::testing::deposits::TxSetup;
| ^^^^^^^ could not find `testing` in `sbtc`
|
error[E0433]: failed to resolve: could not find `testing` in `sbtc`
--> sbtc/tests/integration/validation.rs:36:11
|
36 | use sbtc::testing::regtest::AsUtxo;
| ^^^^^^^ could not find `testing` in `sbtc`
|
error[E0433]: failed to resolve: could not find `testing` in `sbtc`
--> sbtc/tests/integration/validation.rs:52:36
|
52 | let mut setup: TxSetup = sbtc::testing::deposits::tx_setup(lock_time, max_fee, amount_sats);
| ^^^^^^^ could not find `testing` in `sbtc`
|
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
warning: `sbtc` (test "integration") generated 1 warning
error: could not compile `sbtc` (test "integration") due to 5 previous errors; 1 warning emitted
The text was updated successfully, but these errors were encountered:
When trying to run the integration tests in the sbtc crate through VS Code, one solution is to add "testing" to the default feature in sbtc/Cargo.toml. I know that we need to fix this up, and we'll get to it.
Could not compile
validation.rs
integration test file :(The text was updated successfully, but these errors were encountered: