2020-12-14 11:28:03 +00:00
|
|
|
# Postman testing
|
|
|
|
|
|
|
|
There are two files here:
|
|
|
|
|
|
|
|
- RPC_Testing.json
|
|
|
|
- Trace_Testing.json
|
|
|
|
|
2021-06-11 08:34:47 +00:00
|
|
|
You can import them into Postman using these
|
|
|
|
instructions: https://github.com/ledgerwatch/erigon/wiki/Using-Postman-to-Test-TurboGeth-RPC
|
2020-12-14 11:28:03 +00:00
|
|
|
|
2021-06-11 08:34:47 +00:00
|
|
|
The first one is used to generate help text and other documentation as well as running a sanity check against a new
|
|
|
|
release. There is basically one test for each of the 81 RPC endpoints.
|
2020-12-14 11:28:03 +00:00
|
|
|
|
2021-06-11 08:34:47 +00:00
|
|
|
The second file contains 31 test cases specifically for the nine trace routines (five tests for five of the routines,
|
|
|
|
three for another, one each for the other three).
|
2020-12-14 11:28:03 +00:00
|
|
|
|
2021-06-11 08:34:47 +00:00
|
|
|
Another collection of related tests can be found
|
|
|
|
here: https://github.com/Great-Hill-Corporation/trueblocks-core/tree/develop/src/other/trace_tests
|