Skip to content

Set up integration testing infrastructure for framework adapters #451

Closed

Description

@psschwei

Summary

Create a testing framework that can validate integrations without requiring all framework dependencies in the core test suite.

Problem / Opportunity

Integration tests require framework-specific dependencies (langchain, dspy, crewai, etc.). Including all of these in the core test suite bloats dependencies and slows CI. We need a testing strategy that validates integrations thoroughly without impacting core development velocity.

User Story / Use Case

As a mellea contributor, I want integration tests to run in isolation so that I can develop and test integrations without affecting the core test suite or requiring all framework dependencies locally.

Proposed Solution (High-level)

Create infrastructure including:

  • test/integrations/ directory structure with per-framework subdirectories
  • Pytest markers for optional integration tests
  • CI configuration for integration test matrix (separate jobs per framework)
  • Mock/fixture infrastructure for testing without real backends

Scope

In scope:

  • Directory structure for integration tests
  • Pytest markers and skip logic for optional tests
  • CI configuration for matrix testing
  • Mock infrastructure for backends
  • Documentation for running integration tests locally

Out of scope:

  • Actual integration test implementations (part of each integration task)
  • Performance/load testing infrastructure
  • End-to-end testing across multiple frameworks

Acceptance Criteria

  • Integration tests can run independently via pytest markers
  • CI runs integration tests in separate jobs per framework
  • Clear documentation for running integration tests locally
  • Framework dependencies are optional extras (not required for core tests)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions