yusyus
d587240e7b
test: Add comprehensive E2E and unit tests for multi-LLM adaptors
Add 37 new tests (all passing):
**E2E Tests (18 tests):**
- test_adaptors_e2e.py - Complete workflow testing
- Test all platforms package from same skill
- Verify package structure for each platform
- Test filename conventions and formats
- Validate metadata consistency
- Test API key validation
- Test error handling (invalid files, missing deps)
**Claude Adaptor Tests (19 tests):**
- test_claude_adaptor.py - Comprehensive Claude adaptor coverage
- Platform info and API key validation
- SKILL.md formatting with YAML frontmatter
- Package creation and structure
- Upload success/failure scenarios
- Custom output paths
- Edge cases (special characters, minimal metadata)
- Network error handling
**Test Results:**
- 694 total tests passing (was 657, +37 new)
- 82 adaptor tests (77 passing, 5 skipped integration)
- 18 E2E workflow tests (all passing)
- 157 tests skipped (unchanged)
- No failures
**Coverage Improvements:**
- Complete workflow validation for all platforms
- Package format verification (ZIP vs tar.gz)
- Metadata consistency checks
- Error path coverage
- API key validation edge cases
All tests run without real API keys (mocked).
Related to #179
2025-12-28 20:47:00 +03:00
..
2025-12-28 20:17:31 +03:00
2025-12-28 20:47:00 +03:00
2025-12-28 20:17:31 +03:00
2025-12-28 20:47:00 +03:00
2025-12-28 20:24:48 +03:00
2025-12-28 20:34:21 +03:00
2025-12-28 20:29:54 +03:00