test-and-fix-connector

Execute and fix connector tests using pytest in a Python virtual environment.

60|116|Updated Nov 13, 2025
One-click install
npx skills add https://github.com/databrickslabs/lakeflow-community-connectors --skill test-and-fix-connector
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-and-fix-connector
Source: https://github.com/databrickslabs/lakeflow-community-connectors/tree/main/.claude/skills/test-and-fix-connector
Command: npx skills add https://github.com/databrickslabs/lakeflow-community-connectors --skill test-and-fix-connector

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pytest, pypdf, pdfplumber, pdf2image, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of running tests for a newly implemented connector, diagnosing any failures, and applying necessary fixes to ensure the connector functions correctly.

Core Features & Use Cases

  • Automated Testing: Executes a predefined test suite against the connector implementation.
  • Failure Diagnosis: Analyzes test results to pinpoint errors in the connector logic or configuration.
  • Targeted Fixing: Applies minimal, precise code changes to resolve identified test failures.
  • Use Case: After implementing a new data connector for a specific source, use this Skill to automatically verify its functionality and fix any bugs before merging.

Quick Start

Run the test-and-fix-connector skill for the 'my_new_source' connector.

Frequently Asked Questions about test-and-fix-connector

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix failing pytest tests for a newly implemented Python connector?

To fix failing pytest tests for a Python connector, this Skill runs the test suite, analyzes failures against API documentation, and iteratively applies minimal code changes to resolve errors.

Why does my connector test hang during execution and how can I debug it?

If a connector test hangs, this Skill addresses the issue by enabling debug logging and isolating HTTP calls to identify the blocking request and correct the execution flow.

Can I automatically configure authentication and table options when running connector tests?

Yes, you can automatically configure authentication and table options when running connector tests, as this Skill sets up these environment configurations before synchronously executing the pytest suite.

Do I need a Python virtual environment to run and troubleshoot connector tests?

Yes, you need a Python virtual environment to run and troubleshoot connector tests, because this Skill executes pytest and applies fixes strictly within an isolated virtual environment setup.

What is the best way to automate bug fixing for data connector test failures?

The best way to automate bug fixing for data connector test failures is using a targeted approach that analyzes pytest output and applies precise code changes based on API documentation.