Skip to content

Commit 9298412

Browse files
author
Eric Swanson
committed
readme
1 parent 11b567f commit 9298412

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,18 @@ These tests use dfx to stand up and interact with a local Internet Computer inst
66
To ensure test isolation, they run in a temporary HOME directory and
77
**cannot use the dfx shim from dfxvm**.
88

9-
To run the tests:
9+
To run the tests, it's necessary to set the ICPTEST_DFX_PATH environment variable
10+
to a valid dfx path. Here is one way to do this:
1011

1112
```
12-
# Ensure dfx is installed
13+
# Ensure dfx is installed and the cache is populated
1314
dfx cache install
1415
1516
# Export the path to the actual dfx binary (not the shim)
1617
export ICPTEST_DFX_PATH="$(dfx cache show)/dfx"
1718
18-
# Run tests (may include #[ignore] tests depending on setup)
19+
# Run tests
1920
cargo test
2021
```
2122

22-
If ICPTEST_DFX_PATH is not set, tests that depend on dfx will be skipped or marked as ignored.
23-
23+
If ICPTEST_DFX_PATH is not set, tests that depend on dfx will fail.

0 commit comments

Comments
 (0)