plugin-test

Run local CI-equivalent plugin tests for SkyWalking Python plugins with Docker and Poetry.

218|112|Updated May 5, 2020
One-click install
npx skills add https://github.com/apache/skywalking-python --skill plugin-test-apache
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plugin-test
Source: https://github.com/apache/skywalking-python/tree/main/.claude/skills/plugin-test
Command: npx skills add https://github.com/apache/skywalking-python --skill plugin-test-apache

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you run the same tests that CI runs for SkyWalking Python plugins locally, enabling quick feedback during development.

Core Features & Use Cases

  • Local CI-equivalent plugin testing for Python SkyWalking plugins (unit, web, http, data) and end-to-end tests.
  • Step-by-step guidance for setting up the environment, building Docker images, and executing test suites that mirror the CI workflow.
  • Use Case: A developer wants to verify changes to a Flask plugin by running unit tests and a full plugin test suite locally before submitting a PR.

Quick Start

Run the local plugin-test workflow to validate changes against the repository's plugin suites.

Frequently Asked Questions about plugin-test

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

FAQPage Schema
How do I run SkyWalking Python plugin tests locally before submitting a PR?

To run SkyWalking Python plugin tests locally, you execute a CI-equivalent workflow using Docker and Poetry. This builds the test Docker image and runs pytest for selected plugin suites, providing quick feedback before submitting a PR.

Do I need Docker and Poetry to run SkyWalking Python e2e tests?

Yes, Docker and Poetry are required to run SkyWalking Python e2e tests. The local CI-equivalent testing process requires these dependencies to build the test Docker image and manage the environment for executing the pytest suites.

What types of SkyWalking Python plugin tests can I execute with this local CI workflow?

You can execute unit tests, web/http/data plugin tests, and end-to-end tests. This local CI workflow applies to scenarios covering these specific test suites, mirroring the continuous integration workflow for SkyWalking Python plugins.

What is the best way to verify changes to a Flask plugin in the SkyWalking Python repository?

The best way to verify changes to a Flask plugin is running local CI-equivalent plugin tests. By building the test Docker image and running pytest, you validate changes against the repository's plugin suites before submitting a PR.

How does local pytest execution mirror the SkyWalking Python CI workflow?

Local pytest execution mirrors the SkyWalking Python CI workflow by building a Docker image and running selected plugin suites. This replicates the continuous integration steps locally, enabling developers to validate code changes quickly.