- Multi-format Reports: MD, HTML, TXT, CSV
- AI Integration: Ollama-powered test interpretation
- Auto-discovery: Automatically finds test categories
- Detailed Reports: Full test output with error traces
- Configurable: Customize via
configfile - Portable: Works with any Python project
# Clone or copy to your project
cp -r xyz-test-runner /your/project/
cd /your/project/test
# Run
python3 scripts/xyz-test-runner.pycd your-project/test
python3 scripts/xyz-test-runner.py- Settings - Configure AI, model, execution mode, GPU Protection, Xvfb
- Select Tests - Choose categories and specific tests
- Run Tests - Execute selected tests
- Results - View results
- Generate Reports - Export in multiple formats
- Create Tests with AI - Generate tests using AI
If tests crash your GNOME session, enable Xvfb in Settings. This runs tests on a virtual X server without affecting your desktop.
# Install (if not present)
sudo apt install xvfb
# Direct usage
xvfb-run -a python3 -m pytest test/tests/ -vNew in v2.0! Generate comprehensive test suites automatically using AI.
- Select Folder - Choose project folder to analyze
- Select Files - Multi-select source files using arrow keys + space
- Framework - Auto-detect or choose manually (pytest, jest, go, rust, etc.)
- AI Model - Select model for test generation (can differ from interpretation model)
- Save Location - Choose where to save generated tests
- Category - Select test category (core, integration, paths, network, ui, etc.)
- Python (.py)
- JavaScript/TypeScript (.js, .ts, .jsx, .tsx)
- Shell scripts (.sh)
- Go (.go)
- Rust (.rs)
- Java (.java)
- C/C++ (.c, .cpp, .h)
- And more...
The runner automatically detects:
- pytest.ini / pyproject.toml β pytest
- package.json β jest
- Cargo.toml β rust
- go.mod β go
Edit the config file to customize:
# Language
LANGUAGE=en
# AI
USE_IA=false
DEFAULT_MODEL=qwen3.5:0.8b
# Report Detail
REPORT_DETAIL_LEVEL=full
# Export Formats
EXPORT_FORMATS=md,html,csvxyz-test-runner/
βββ assets/ # Official branding (CSS, SVG)
βββ scripts/
β βββ xyz-test-runner.py # Main runner
βββ templates/
β βββ test_template.py # Test template
βββ tests/ # Test categories
βββ config # Configuration file
βββ README.md # This file
# Copy template
cp templates/test_template.py tests/your_category/your_test.py
# Edit your test
vim tests/your_category/your_test.pyclass TestYourFeature:
def setup_method(self):
"""Setup before each test"""
pass
def teardown_method(self):
"""Cleanup after each test"""
pass
def test_example(self):
"""Your test"""
assert TrueFull report with tables, error traces, and statistics.
Styled report with XYZ - Rainbow Technology official branding:
- Minimal Soft Grid design
- Futurist Cyberpunk aesthetics
- Glassmorphism & Neon accents
- Business Dark Branding
Export for Excel/analysis tools.
Select: 2 (Select Tests)
Select category: 1 (core)
Select tests: 1 (test_config.py)
Confirm: Enter
Execute: 3
Settings: 1
Enable AI: 1 (toggle ON)
Select model: qwen3.5:0.8b
Generate: 5
Personal Project - Non-commercial Use Only
Copyright Β© 2026 xyz-rainbow
- Email: info@rainbowtechnology.xyz
- GitHub: github.com/xyz-rainbow
#xyz-rainbow #rainbowtechnology.xyz #i-love-you