Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit cd8acd6

Browse files
author
Kirill Taran
authored
Update README.md
1 parent 7afa695 commit cd8acd6

File tree

1 file changed

+17
-5
lines changed

1 file changed

+17
-5
lines changed

test/README.md

+17-5
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,24 @@
22

33
The script `run.sh` will run all tests for both implementations
44
(prototype in TypeScript and main version in Rust). For testing
5-
normal contracts EVM and testing EVM two different Substrate
6-
versions are used: plain substrate and fork of node-template.
5+
normal contracts and for testing EVM, two different Substrate
6+
versions are used: plain substrate and substrate-evm-enabled fork.
77

8-
This will change when I move EVM from `node-template` to `node`,
9-
then the same executable will have both modules.
8+
By default, necessary versions are pulled via Podman/Docker:
9+
```
10+
./run.sh
11+
```
12+
13+
### Custom node to test against
14+
15+
You can override variables `SUBSTRATE_PATH` and `SUBSTRATE_EVM_PATH` if you want to run tests
16+
against your version of Substrate/EVM.
17+
18+
### Filtering
1019

20+
You can also specify pattern to filter test cases:
1121
```
12-
./run.sh <path1> <path2>
22+
./run.sh solang-flipper
1323
```
24+
If a test suite is empty after filtering,
25+
the corresponding Node will not be started.

0 commit comments

Comments
 (0)