Skip to content

Commit 73b4851

Browse files
committed
build: rely on explicit test-utils feature setting
1 parent b928ec0 commit 73b4851

File tree

3 files changed

+5
-10
lines changed

3 files changed

+5
-10
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ cargo build --locked --all-targets --all-features
6060
Run the test suite (we recommend nextest):
6161

6262
```bash
63-
cargo nextest run
63+
cargo nextest run --features test-utils
6464
# or
65-
cargo test
65+
cargo test --features test-utils
6666
```
6767

6868
Run examples:
@@ -123,7 +123,7 @@ cargo clippy --all-targets --all-features -- -D warnings -D clippy::pedantic
123123
typos
124124
125125
# Tests (prefer nextest)
126-
cargo nextest run
126+
cargo nextest run --features test-utils
127127
```
128128

129129
---
@@ -160,7 +160,7 @@ Key implementation details, trade-offs, and alternatives considered.
160160
- [ ] `cargo +nightly fmt --all --check`
161161
- [ ] `cargo clippy --all-targets --all-features -- -D warnings -D clippy::pedantic`
162162
- [ ] `typos`
163-
- [ ] Tests pass (`cargo nextest run`)
163+
- [ ] Tests pass (`cargo nextest run --features test-utils`)
164164
- [ ] Docs/README/examples updated (if applicable)
165165
```
166166

Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,3 @@ workspace = true
7171

7272
[features]
7373
test-utils = []
74-
75-
[[test]]
76-
# see tests/mod.rs
77-
name = "mod"
78-
required-features = ["test-utils"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,6 @@ Both examples spin up a local `anvil` instance, deploy a demo counter contract,
224224
Integration tests cover all modes:
225225

226226
```bash
227-
cargo nextest run
227+
cargo nextest run --features test-utils
228228
```
229229

0 commit comments

Comments
 (0)