plugeth/cmd/devp2p/internal/ethtest
rene 49bde05a55
cmd/devp2p: refactor eth test suite (#22843)
This PR refactors the eth test suite to make it more readable and
easier to use. Some notable differences:

- A new file helpers.go stores all of the methods used between
  both eth66 and eth65 and below tests, as well as methods shared
  among many test functions.
- suite.go now contains all of the test functions for both eth65
  tests and eth66 tests.
- The utesting.T object doesn't get passed through to other helper methods,
  but is instead only used within the scope of the test function,
  whereas helper methods return errors, so only the test function
  itself can fatal out in the case of an error.
- The full test suite now only takes 13.5 seconds to run.
2021-05-25 23:09:11 +02:00
..
testdata cmd/devp2p/internal/ethtest: add transaction tests (#21857) 2020-11-30 15:23:48 +01:00
chain_test.go cmd/devp2p/internal/ethtest: skip eth/66 tests when v66 not supported (#22460) 2021-03-19 15:15:39 +01:00
chain.go cmd/devp2p: refactor eth test suite (#22843) 2021-05-25 23:09:11 +02:00
helpers.go cmd/devp2p: refactor eth test suite (#22843) 2021-05-25 23:09:11 +02:00
large.go cmd/devp2p, eth/protocols/eth: fix tests + make sanity checks earlier (#22749) 2021-04-28 08:48:07 +02:00
suite_test.go cmd/devp2p, eth/protocols/eth: fix tests + make sanity checks earlier (#22749) 2021-04-28 08:48:07 +02:00
suite.go cmd/devp2p: refactor eth test suite (#22843) 2021-05-25 23:09:11 +02:00
transaction.go cmd/devp2p: refactor eth test suite (#22843) 2021-05-25 23:09:11 +02:00
types.go cmd/devp2p: refactor eth test suite (#22843) 2021-05-25 23:09:11 +02:00