
qa_test
用于测试GitHub MCP服务器集成和QA代理功能的工具。
Repository Info
About This Server
用于测试GitHub MCP服务器集成和QA代理功能的工具。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
QA Agent Testing
This directory contains tests for the GitHub MCP server integration and QA Agent functionality.
Test Files Overview
test_github_connection.py- Tests for GitHub MCP server connection and basic API operationsmcp_conn_test_plan.md- Detailed test plan document for GitHub MCP server integration
Setup Instructions
1. Configuration
Create a test_config.yaml file in this directory with your test repository details:
github:
owner: "your-github-username" # or organization name
repo: "your-test-repository"
file_path: "README.md" # A file known to exist in your test repo
Alternatively, you can set environment variables:
TEST_GITHUB_OWNERTEST_GITHUB_REPOTEST_GITHUB_FILE_PATH
2. Dependencies
Make sure you have the required dependencies installed:
pip install pytest pytest-asyncio pyyaml
3. GitHub MCP Server
Ensure the GitHub MCP server is running in Docker with appropriate configuration:
# The server should be running with:
docker run -p 4010:4010 -e GITHUB_TOKEN=YOUR_PAT_TOKEN ghcr.io/github/github-mcp-server
4. Running Tests
To run all QA tests:
pytest tests/qa/
To run with detailed logging:
pytest tests/qa/ -v --log-cli-level=DEBUG
To run a specific test file:
pytest tests/qa/test_github_connection.py
Test Repository Requirements
Your test repository should include:
- A README.md file (or whatever is specified in your config)
- Some sample code files that can be accessed during tests
- Permissions configured to allow the GitHub token to:
- Read repository contents
- Create/update issues (if testing those features)
Quick Start
Clone the repository
git clone https://github.com/hvrshchaudhary/qa_testInstall dependencies
cd qa_test
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.