laconicd-deprecated/tests/integration_tests
2023-03-13 12:34:10 +05:30
..
configs update from fork 2023-03-13 12:34:10 +05:30
hardhat chore: release v0.20.0-rc3 (#1529) 2022-12-02 15:03:41 +01:00
__init__.py update fork 2022-10-10 16:08:33 +05:30
.isort.cfg update fork 2022-10-10 16:08:33 +05:30
conftest.py tests: make integration test more stable (#1488) 2022-12-23 07:58:26 -05:00
cosmoscli.py fix: avoid duplicate register proto type in evm & feemarket (#1586) 2023-01-12 10:52:55 +02:00
expected_constants.py update from fork 2023-03-13 12:34:10 +05:30
network.py update from fork 2023-03-13 12:34:10 +05:30
poetry.lock chore(release): v0.20-rc4 (#1546) 2022-12-09 18:14:28 +01:00
pyproject.toml release: v0.20-rc3 changelog (#1517) 2022-11-30 18:00:19 +01:00
README.md chore: release v0.20.0-rc3 (#1529) 2022-12-02 15:03:41 +01:00
shell.nix ethermintd->laconicd 2022-10-13 11:23:17 +05:30
test_account.py release: v0.20-rc3 changelog (#1517) 2022-11-30 18:00:19 +01:00
test_fee_history.py fix(rpc): align fee history (backport #1611) (#1620) 2023-01-20 16:49:30 +01:00
test_filters.py update from fork 2023-03-13 12:34:10 +05:30
test_gas.py chore(release): v0.20-rc4 (#1546) 2022-12-09 18:14:28 +01:00
test_grpc_only.py tests: make integration test more stable (#1488) 2022-12-23 07:58:26 -05:00
test_priority.py tests: make integration test more stable (#1488) 2022-12-23 07:58:26 -05:00
test_pruned_node.py tests: make integration test more stable (#1488) 2022-12-23 07:58:26 -05:00
test_rollback.py tests: make integration test more stable (#1488) 2022-12-23 07:58:26 -05:00
test_tracers.py release: v0.20-rc3 changelog (#1517) 2022-11-30 18:00:19 +01:00
test_types.py release: v0.20-rc3 changelog (#1517) 2022-11-30 18:00:19 +01:00
test_upgrade.py update from fork 2023-03-13 12:34:10 +05:30
test_websockets.py tests(websocket): websocket integration tests (#1355) 2022-10-28 08:10:11 +00:00
utils.py tests: make integration test more stable (#1488) 2022-12-23 07:58:26 -05:00

RPC Integration tests

The RPC integration test suite uses nix for reproducible and configurable builds allowing to run integration tests using python web3 library against different Ethermint and Geth clients with multiple configurations.

Installation

Nix Multi-user installation:

sh <(curl -L https://nixos.org/nix/install) --daemon

Make sure the following line has been added to your shell profile (e.g. ~/.profile):

source ~/.nix-profile/etc/profile.d/nix.sh

Then re-login shell, the nix installation is completed.

For linux:

sh <(curl -L https://nixos.org/nix/install) --no-daemon

Run Local

First time run (can take a while):

make run-integration-tests

Once you've run them once and, you can run:

nix-shell tests/integration_tests/shell.nix
cd tests/integration_tests
pytest -s -vv

If you're changing anything on the ethermint rpc, rerun the first command.

Caching

You can enable Binary Cache to speed up the tests:

nix-env -iA cachix -f https://cachix.org/api/v1/install
cachix use ethermint