KS
Killer-Skills

testing — how to use testing for PyPTO how to use testing for PyPTO, what is testing in AI agents, testing alternative for PyPTO validation, testing vs manual validation, testing install guide for AI agents, testing setup for PyPTO projects, automated testing for AI agents, PyPTO testing best practices, testing for AI agent development

v1.0.0
GitHub

About this Skill

Perfect for PyPTO Development Agents needing automated code validation and testing capabilities. Testing is a community-driven PyPTO implementation that automates the validation of code changes through building and running tests.

Features

Invokes Task tool with `subagent_type="testing"` for specialized agent testing
Builds and runs all tests for the PyPTO project
Sources `.claude/skills/testing/testing.env` for environment setup
Utilizes bash commands for conditional environment setup
Runs tests to verify code changes haven't broken existing functionality

# Core Topics

hw-native-sys hw-native-sys
[17]
[25]
Updated: 2/26/2026

Quality Score

Top 5%
60
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add hw-native-sys/pypto/testing

Agent Capability Analysis

The testing MCP Server by hw-native-sys is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use testing for PyPTO, what is testing in AI agents, testing alternative for PyPTO validation.

Ideal Agent Persona

Perfect for PyPTO Development Agents needing automated code validation and testing capabilities.

Core Value

Empowers agents to verify code integrity by building and testing PyPTO projects, ensuring seamless validation of code changes using specialized subagents and task tools, and supporting environment setup with `.claude/skills/testing/testing.env` files.

Capabilities Granted for testing MCP Server

Validating PyPTO code changes
Automating project builds and tests
Ensuring code integrity with specialized subagents

! Prerequisites & Limits

  • Requires `.claude/agents/testing/AGENT.md` instructions
  • PyPTO project specific
  • Environment setup required with `.claude/skills/testing/testing.env` file if present
Project
SKILL.md
2.8 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

PyPTO Testing Skill

Overview

Build and test the PyPTO project to verify code changes haven't broken anything.

How to Use

  1. Read agent instructions at .claude/agents/testing/AGENT.md
  2. Invoke Task tool with subagent_type="testing" (specialized agent)
  3. Agent will build project and run all tests

Environment Setup

If .claude/skills/testing/testing.env exists: Source it before testing.

bash
1[ -f .claude/skills/testing/testing.env ] && source .claude/skills/testing/testing.env

If doesn't exist: Skip and suggest creating one (see testing.env.example).

Testing Workflow

bash
1# 1. Activate environment (if testing.env exists) 2[ -f .claude/skills/testing/testing.env ] && source .claude/skills/testing/testing.env 3 4# 2. Build project 5cmake --build build 6 7# 3. Set PYTHONPATH 8export PYTHONPATH=$(pwd)/python:$PYTHONPATH 9 10# 4. Run tests 11python -m pytest tests/ut/ -v

Test Commands

bash
1# Run all tests 2python -m pytest tests/ut/ -v 3 4# Run specific test file 5python -m pytest tests/ut/test_ir_basic.py -v 6 7# Run specific test 8python -m pytest tests/ut/test_ir_basic.py::test_tensor_expr_creation -v 9 10# Run with coverage 11python -m pytest tests/ut/ --cov=pypto_core --cov-report=html

Test Structure

text
1tests/ut/ 2├── core/ # Core functionality 3├── ir/ # IR (nodes, expressions, operators, parser) 4└── pass/ # Pass manager

Testing Checklist

  • Project builds without errors
  • No new compiler warnings
  • All existing tests pass
  • New features have tests
  • Bug fixes have regression tests
  • Tests in tests/ut/ (not elsewhere)

Common Issues

IssueSolution
ImportError: No module named 'pypto_core'export PYTHONPATH=$(pwd)/python:$PYTHONPATH
Tests fail after code changescmake --build build then re-run
Tests in wrong locationMove to tests/ut/

Output Format

text
1## Testing Summary 2**Status:** ✅ PASS / ⚠️ WARNINGS / ❌ FAIL 3 4### Build Results 5[Compiler output, warnings/errors] 6 7### Test Results 8- Total: X | Passed: X | Failed: X | Skipped: X 9 10### Failures 11[Failed test details if any] 12 13### Recommendations 14[Actions to fix issues]

Decision Criteria

StatusCriteria
PASSAll tests pass, build succeeds, no new warnings
WARNINGSTests pass but new warnings or skipped tests
FAILBuild fails or tests fail

Important Notes

  • Always rebuild before running tests
  • Check both build and test output
  • Look for new warnings even if tests pass
  • Verify new features have corresponding tests

Related Skills

  • code-review - Code review (runs in parallel with testing)
  • git-commit - Complete commit workflow

Related Skills

Looking for an alternative to testing or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication