Skip to content

Commit 6ec9d96

Browse files
authored
chore: drop unused integration tests (#362)
1 parent f17f5da commit 6ec9d96

7 files changed

Lines changed: 1 addition & 1039 deletions

File tree

AGENTS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
- MSRV: 1.89. Build all: `cargo build --workspace --all-features`
1010
- Test all: `cargo test --workspace --all-features` or `./contrib/test.sh` (set `DO_COV=true`, `DO_LINT=true`, `DO_FMT=true` as needed)
1111
- Targeted tests: `cargo test -p dash-spv --all-features`
12-
- Integration RPC: `cd dash-spv && DASH_SPV_IP=<node-ip> cargo test --test integration_real_node_test -- --nocapture`
1312
- FFI iOS builds: `cd key-wallet-ffi && ./build-ios.sh`
1413
- Lint/format: `cargo clippy --workspace --all-targets -- -D warnings` and `cargo fmt --all`
1514
- Docs: `cargo doc --workspace` (add `--open` locally)

CLAUDE.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,6 @@ DO_LINT=true ./contrib/test.sh
101101
DO_FMT=true ./contrib/test.sh
102102
```
103103

104-
### Integration Tests
105-
```bash
106-
# Run with real Dash node (requires DASH_SPV_IP environment variable)
107-
cd dash-spv
108-
cargo test --test integration_real_node_test -- --nocapture
109-
```
110-
111104
## Development Commands
112105

113106
### Linting and Formatting

dash-spv/CLAUDE.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ cargo test
5757
cargo test --test handshake_test
5858
cargo test --test header_sync_test
5959
cargo test --test storage_test
60-
cargo test --test integration_real_node_test
6160

6261
# Run individual test functions
6362
cargo test --test handshake_test test_handshake_with_mainnet_peer
@@ -69,19 +68,6 @@ cargo test -- --nocapture
6968
cargo test --test handshake_test test_handshake_with_mainnet_peer -- --nocapture
7069
```
7170

72-
**Integration Tests with Real Node:**
73-
The integration tests in `tests/integration_real_node_test.rs` connect to a live Dash Core node at `127.0.0.1:9999`. These tests gracefully skip if no node is available.
74-
75-
```bash
76-
# Run real node integration tests
77-
cargo test --test integration_real_node_test -- --nocapture
78-
79-
# Test specific real node functionality
80-
cargo test --test integration_real_node_test test_real_header_sync_genesis_to_1000 -- --nocapture
81-
```
82-
83-
See `run_integration_tests.md` for detailed setup instructions.
84-
8571
### Code Quality
8672
```bash
8773
# Check formatting
@@ -201,7 +187,7 @@ Use domain-specific error types:
201187
**Common Debug Commands:**
202188
```bash
203189
# Run with tracing output
204-
RUST_LOG=debug cargo test --test integration_real_node_test -- --nocapture
190+
RUST_LOG=debug cargo test --test test_handshake_with_mainnet_peer -- --nocapture
205191

206192
# Run specific test with verbose output
207193
cargo test --test handshake_test test_handshake_with_mainnet_peer -- --nocapture --test-threads=1

dash-spv/run_integration_tests.md

Lines changed: 0 additions & 192 deletions
This file was deleted.

0 commit comments

Comments
 (0)