Guides
Test Environment Setup
Setting up a test environment for Arc Memory
Test Environment Setup
This guide will help you set up a test environment for Arc Memory, allowing you to experiment with the tool without affecting your production repositories.
Overview
A proper test environment for Arc Memory includes:
- A test Git repository with realistic history
- A GitHub repository (optional, for GitHub integration)
- A virtual environment for Python dependencies
- Test data for various scenarios
Setting Up a Test Git Repository
Option 1: Create a New Repository
Option 2: Clone the Arc Memory Demo Repository
Option 3: Use a Copy of an Existing Repository
Creating Test History
To create a realistic test history:
Setting Up GitHub Integration (Optional)
If you want to test GitHub integration:
- Create a new repository on GitHub
- Add it as a remote to your local repository
- Push your local repository to GitHub
- Create some issues and pull requests on GitHub:
- Create an issue for adding a new calculator feature
- Create a pull request for a new feature branch
- Reference issues in commit messages and pull requests
Setting Up a Python Virtual Environment
Creating Test Data for Scenarios
Architecture Decision Records (ADRs)
Create some ADRs to test the ADR integration:
Running Arc Memory on the Test Repository
Now you can run Arc Memory on your test repository:
Testing Different Scenarios
Testing Incremental Builds
Testing GitHub Integration
Testing Custom Plugins
Cleaning Up
When you’re done testing:
See Also
- Dependencies Guide - For a complete list of dependencies
- Troubleshooting Guide - For common issues and solutions
- Custom Plugins Examples - For examples of creating custom plugins