conflux-rust-integration-test

Installation
SKILL.md

Pytest Integration Tests (Conflux Rust)

Quick workflow

  1. Choose location and reuse fixtures
  • Pick the subdirectory under integration_tests/tests (e.g., rpc/, internal_contracts/, cross_space/, execution_spec_tests/).
  • Check for a local conftest.py and reuse/extend its fixtures.
  1. Pick framework and config
  • Start from global fixtures in integration_tests/tests/conftest.py (see references/fixtures.md).
  • If you need custom node counts or config, override framework_class in your test module or local conftest.py.
  • Implement custom framework by subclassing ConfluxTestFramework and overriding set_test_params() + setup_network().
  1. Create the test module
  • Name the file with test in it (e.g., feature_test.py) under integration_tests/tests/....
  • Keep setup in fixtures; tests should rely on network, cw3/ew3, core_accounts/evm_accounts, and internal_contracts.
  • Prefer deterministic operations; avoid time-based sleeps unless no alternative exists.
  • Add Python type hints for tests and fixtures.
Installs
8
GitHub Stars
2
First Seen
Feb 3, 2026
conflux-rust-integration-test — conflux-fans/conflux-skills