Available Tutorials
Chain Integration Tests
Learn how to write comprehensive tests for Neutron chain modules and features
Smart Contract Tests
Test your CosmWasm smart contracts in a realistic chain environment
- Testing cross-chain functionalities (ICA and ICQ)
- Automating tests in CI/CD pipelines
Why Integration Testing Matters
Integration testing goes beyond basic unit tests by:- Testing how different components interact with each other
- Simulating realistic blockchain conditions
- Verifying that your application works as expected in a chain environment
- Catching bugs that might only appear in specific chain contexts
Recommended Tools
For testing Neutron applications, we recommend:- cw-multi-test: A framework for testing CosmWasm contracts
- Rust’s testing framework: For unit testing individual functions
- Neutron’s testing utilities: For simulating Neutron-specific features
- Docker: For setting up isolated testing environments
Prerequisites
Before diving into the integration testing tutorials, you should:- Be comfortable with Rust programming
- Understand the basics of CosmWasm contract development
- Have completed the Onboarding Tutorials
- Have a project ready to test