We welcome contributions to the PocketIC Python library! If you have any questions or need help, please reach out to us on the Forum. If you decide to contribute, we encourage you to announce it on the Forum!
Download the PocketIC server for your platform and place it in the repository root directory.
Next, set up a Python venv, activate it and install the dependencies:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtRunning tests:
python3 tests/pocket_ic_test.pyRunning examples:
# Ledger canister
python3 examples/ledger_canister/ledger_canister_test.py
# Counter canister
python3 examples/counter_canister/counter_canister_test.py