ethereum / retesteth

testeth via RPC. Test run, generation by t8ntool protocol
http://retesteth.ethdevops.io/
GNU General Public License v3.0
113 stars 75 forks source link

docker #103

Closed winsvega closed 4 years ago

winsvega commented 4 years ago

there is a script in retesteth repo. just run dretesteth.sh build then use dretesteth.sh as retesteth command. --testpath folder will be mounted into docker. tests are executed/generated with geth transition tool.

tested with Docker version 19.03.8, build afacb8b7f0

there is option --datadir that will export retesteth datadirectory.

dretesteth.sh -- --testpath /home/user/tests --datadir /tests/.retesteth
(/home/user/tests is mounted into docker /tests)

will export retesteth configs into mounted tests path into .retesteth folder so it would be possible to connect your own client using

dretesteth.sh -t GeneralStateTests/stExample -- --clients "configname"

that would require to configure your client for retesteth at /home/user/tests/.retesteth pay a note to start.sh and stop.sh if your client executable is located at docker mounted folder (/home/user/tests/.retesteth) docker should be able to run it (from /tests/.retesteth).