e4c7119c51
🎉 Major v2.0 rebuild kickoff - Week 1 accomplished! ## Highlights ### Cross-Platform Support 🌍 - ✅ Linux primary platform (Ubuntu/Debian tested) - ✅ Windows fully supported - ✅ macOS experimental support - ✅ Platform-agnostic path handling (XDG spec) - ✅ Auto-detection of KiCAD installation ### Infrastructure 🏗️ - ✅ GitHub Actions CI/CD pipeline - ✅ Pytest framework with 20+ tests - ✅ Pre-commit hooks (Black, MyPy, ESLint) - ✅ Automated Linux installation script - ✅ Enhanced npm scripts ### IPC API Migration Prep 🚀 - ✅ Comprehensive migration plan (30 pages) - ✅ Backend abstraction layer (800+ lines) - ✅ Factory pattern with auto-detection - ✅ SWIG backward compatibility wrapper - ✅ IPC backend skeleton ready ### Documentation 📚 - ✅ Updated README (Linux installation) - ✅ CONTRIBUTING.md guide - ✅ Linux compatibility audit - ✅ IPC API migration plan - ✅ Session summaries - ✅ Platform-specific config templates ## Files Changed - 27 files created - ~3,000 lines of code/docs - 8 comprehensive documentation pages - 20+ unit tests - 5 abstraction layer modules ## Next Steps - Week 2: IPC API migration (project.py → component.py → routing.py) - Migrate from deprecated SWIG to official IPC API - JLCPCB/Digikey integration prep 🤖 Generated with Claude Code https://claude.com/claude-code Co-Authored-By: Claude <noreply@anthropic.com>
53 lines
1.1 KiB
INI
53 lines
1.1 KiB
INI
[pytest]
|
|
# Pytest configuration for KiCAD MCP Server
|
|
|
|
# Test discovery patterns
|
|
python_files = test_*.py *_test.py
|
|
python_classes = Test*
|
|
python_functions = test_*
|
|
|
|
# Test paths
|
|
testpaths = tests python/tests
|
|
|
|
# Minimum Python version
|
|
minversion = 6.0
|
|
|
|
# Additional options
|
|
addopts =
|
|
-ra
|
|
--strict-markers
|
|
--strict-config
|
|
--showlocals
|
|
--tb=short
|
|
--cov=python
|
|
--cov-report=term-missing
|
|
--cov-report=html
|
|
--cov-report=xml
|
|
--cov-branch
|
|
|
|
# Markers for organizing tests
|
|
markers =
|
|
unit: Unit tests (fast, no external dependencies)
|
|
integration: Integration tests (requires KiCAD)
|
|
slow: Slow-running tests
|
|
linux: Linux-specific tests
|
|
windows: Windows-specific tests
|
|
macos: macOS-specific tests
|
|
|
|
# Ignore patterns
|
|
norecursedirs = .git .tox dist build *.egg node_modules
|
|
|
|
# Coverage settings
|
|
[coverage:run]
|
|
source = python
|
|
omit =
|
|
*/tests/*
|
|
*/test_*.py
|
|
*/__pycache__/*
|
|
*/site-packages/*
|
|
|
|
[coverage:report]
|
|
precision = 2
|
|
show_missing = True
|
|
skip_covered = False
|