holochain_env_setup
Test utilities for setting up Holochain environments with conductor and lair-keystore.
Overview
This crate provides utilities for setting up a complete Holochain environment for testing purposes. It handles:
- Setting up temporary directories
- Starting a Lair keystore instance
- Configuring and starting a Holochain conductor
- Managing the lifecycle of these processes
Usage
use setup_environment;
use tempdir;
async
Prerequisites
This crate requires:
- Holochain conductor binary in PATH
- lair-keystore binary in PATH
- Nix environment (recommended)
Features
- Temporary environment setup for testing
- Automatic process cleanup
- Configurable ports and settings
- Integration with Lair keystore
- Logging support
License
This project is licensed under the GNU General Public License v3.0 (GPL-3.0). This means:
- You can freely use, modify, and distribute this software
- If you distribute modified versions, you must:
- Make the source code available
- License it under GPL-3.0
- State your modifications
- No warranty is provided
For more details, see the LICENSE file or visit https://www.gnu.org/licenses/gpl-3.0.html