/** * QA360 Pytest Adapter * * Ingests Pytest test results and coverage reports into QA360. * * @see https://docs.pytest.org/en/stable/how-to/output.html * * Supported result formats: * - test-results.json (from --json-report) * - test-results/junit.xml (from --junitxml) * - coverage.xml (from pytest-cov) */ import { UnitTestConfig, UnitTestExecutionResult } from './unit-test-types.js'; export declare class PytestAdapter { private cwd; constructor(cwd?: string); /** * Execute Pytest tests and return results */ execute(config: UnitTestConfig): Promise; /** * Parse JUnit XML format */ private parseJUnitXml; /** * Extract test cases from JUnit XML (simplified parser) */ private extractJUnitTestCases; /** * Parse Coverage.py XML format */ private parseCoverageXml; /** * Parse Pytest results into QA360 format */ private parseResults; /** * Map Pytest status to QA360 status */ private mapPytestStatus; /** * Check if coverage meets thresholds */ private checkThresholds; } /** * Create a Pytest adapter instance */ export declare function createPytestAdapter(cwd?: string): PytestAdapter;