fix: PR#151 - Enhance cross-platform support

- Improved error handling and path resolution in run-server.ps1 for better reliability.
- Implemented conversation tests for Docker mode compatibility in validation_crossplatform.py.
- Updated run-server.ps1 to include detailed help documentation, configuration management, and backup retention for configuration files.
- Added Docker path validation tests in validation_crossplatform.py to ensure correct path handling in Docker mode.
- Enhanced integration test script run_integration_tests.ps1 with comprehensive documentation and parameter support for output customization.
This commit is contained in:
OhMyApps
2025-07-05 14:57:27 +02:00
parent ad6b216265
commit 9b5d03747e
5 changed files with 1212 additions and 61 deletions

View File

@@ -1,4 +1,32 @@
#!/usr/bin/env pwsh
<#
.SYNOPSIS
Integration test runner script for the Zen MCP server on Windows.
.DESCRIPTION
This PowerShell script prepares and runs integration tests for the Zen MCP server:
- Sets up the test environment
- Installs required dependencies
- Runs automated integration tests
- Displays test results and related logs
- Allows output customization via parameters (e.g., display color)
.PARAMETER Color
Sets the display color for console messages (default: White).
.EXAMPLE
.\run_integration_tests.ps1
Prepares the environment and runs all integration tests.
.\run_integration_tests.ps1 -Color Cyan
Runs the tests with messages displayed in cyan.
.NOTES
Project Author : BeehiveInnovations
Script Author : GiGiDKR (https://github.com/GiGiDKR)
Date : 07-05-2025
Version : See config.py (__version__)
References : https://github.com/BeehiveInnovations/zen-mcp-server
#>
#Requires -Version 5.1
[CmdletBinding()]
param(