A comprehensive test suite for the ICRC7/ICRC37 implementation, ensuring reliability and correctness of the Core NFT and Storage Canisters.
The integration tests provide complete coverage of the ICRC7/ICRC37 implementation, testing all aspects of NFT management and storage functionality. These tests are essential for ensuring the reliability and correctness of the implementation.
- Rust toolchain
- PocketIC binary
- Internet Computer SDK (dfx)
-
Download PocketIC for your platform:
- Linux: Download PocketIC for Linux
- macOS: Download PocketIC for macOS
-
Make the binary executable:
chmod +x pocket-ic- Set the environment variable:
export POCKET_IC_BIN=/path/to/pocket-icFirst, build all components:
bash ./scripts/build_all.shRun the complete test suite:
bash ./scripts/run_integrations_tests.sh-
PocketIC Not Found
- Verify POCKET_IC_BIN is set correctly
- Check binary permissions
-
Build Failures
- Ensure all dependencies are installed
- Check Rust toolchain version
-
Test Failures
- Check test environment setup
- Verify test data
- Review error messages
We welcome contributions to improve the test suite. Please:
- Follow existing test patterns
- Add comprehensive documentation
- Ensure all tests pass
- Submit pull requests with clear descriptions