← Back to Skills Marketplace
aiweline

单元测试工程师 测试数据与回归

by Aiweline · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
51
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install unit-test-data-regression
Description
Unit test engineer skill for stable fixtures, edge-case data design, and regression-oriented test inputs in WelineFramework.
README (SKILL.md)

\r \r

Role\r

\r This skill designs the data side of unit-level regression protection. It focuses on fixtures, edge-case input matrices, and deterministic reproduction data that makes logic regressions visible and maintainable.\r \r

When To Use\r

\r

  • Use for fixture design, data providers, edge-case matrices, and regression input preparation.\r
  • Use for keywords such as fixture, test data, regression case, boundary case, dataset, and reproducible input.\r
  • Use when the main risk is not missing the assertion structure, but missing the right test inputs.\r \r

Source Material\r

\r

  • AI-ENTRY.md\r
  • CLAUDE.md\r
  • dev/ai/skills/testing/SKILL.md\r
  • dev/ai/skills/community-module/SKILLS-CONSOLIDATED.md\r
  • dev/ai/skills/php84-performance/SKILL.md\r \r

Responsibilities\r

\r

  • Build stable and realistic test inputs for changed logic.\r
  • Cover null safety, boundary values, invalid shapes, and historical regression patterns.\r
  • Keep test data readable and close to the business rule being protected.\r
  • Reduce flakiness by removing unnecessary dependence on ambient state.\r \r

Workflow\r

\r

  1. Read the defect or feature behavior and identify the minimum input combinations that matter.\r
  2. Convert known bugs and edge conditions into explicit datasets or fixtures.\r
  3. Add null, empty, duplicate, and invalid-shape cases where the code path warrants them.\r
  4. Keep test data local, named, and understandable.\r
  5. Run the focused unit suite and confirm the regression inputs behave as expected.\r
  6. Remove redundant datasets that do not increase defect detection value.\r
  7. Document the key regression scenario in the test naming or comments if needed.\r \r

Weline Rules\r

\r

  • Prefer small, isolated, testable changes.\r
  • Provide unit test evidence where relevant.\r
  • Follow PHP null-safety expectations when building regression cases.\r
  • Keep module boundaries intact when preparing fixtures or collaborators.\r \r

Inputs Required\r

\r

  • The changed logic and known failure modes.\r
  • Historical bug symptoms, edge cases, or stack-trace triggers.\r
  • Existing fixture style in the target module.\r
  • Focused unit-test command for verification.\r \r

Expected Output\r

\r

  • Focused datasets or fixtures that reproduce meaningful edge cases.\r
  • Updated regression coverage with clear input intent.\r
  • Evidence that the new datasets pass after the fix and protect the failure mode.\r \r

Validation\r

\r

  • Run focused unit tests that consume the new datasets or fixtures.\r
  • Confirm the added cases cover meaningful branches or prior bugs.\r
  • Confirm no dataset depends on unrelated mutable global state.\r
  • Confirm fixture complexity stays justified by risk.\r \r

Constraints\r

\r

  • Do not add bulky generic fixtures that hide the real regression case.\r
  • Do not depend on random values or time-sensitive data without control.\r
  • Do not create test data that crosses module boundaries without a strong reason.\r
  • Do not duplicate many near-identical datasets when one explicit case is enough.\r \r
Usage Guidance
This skill appears safe for its stated purpose. Before using it, ensure any generated test fixtures stay local to the relevant module and avoid real production data, secrets, or unnecessarily large datasets.
Capability Analysis
Type: OpenClaw Skill Name: unit-test-data-regression Version: 1.0.0 The skill bundle contains instructions for an AI agent to perform unit testing and regression data design within the 'WelineFramework'. The SKILL.md file outlines standard software engineering practices such as fixture creation, edge-case testing, and null-safety validation without any evidence of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
The stated purpose and instructions are coherent: designing stable fixtures, edge-case inputs, and regression datasets for unit tests.
Instruction Scope
The workflow stays within test-data design, focused unit-test verification, and documentation of regression scenarios; constraints discourage bulky fixtures, randomness, mutable global state, and unnecessary module-boundary crossing.
Install Mechanism
There is no install spec, no required binaries, no environment variables, and no code files; the skill is instruction-only.
Credentials
The skill does not request network access, credentials, broad file indexing, or privileged system access. Running focused unit tests is expected for this purpose.
Persistence & Privilege
No persistence, background execution, account access, credential handling, or elevated privileges are described in the artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install unit-test-data-regression
  3. After installation, invoke the skill by name or use /unit-test-data-regression
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Publish_WelineFramework_Multica_role_skills
Metadata
Slug unit-test-data-regression
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 单元测试工程师 测试数据与回归?

Unit test engineer skill for stable fixtures, edge-case data design, and regression-oriented test inputs in WelineFramework. It is an AI Agent Skill for Claude Code / OpenClaw, with 51 downloads so far.

How do I install 单元测试工程师 测试数据与回归?

Run "/install unit-test-data-regression" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 单元测试工程师 测试数据与回归 free?

Yes, 单元测试工程师 测试数据与回归 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 单元测试工程师 测试数据与回归 support?

单元测试工程师 测试数据与回归 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 单元测试工程师 测试数据与回归?

It is built and maintained by Aiweline (@aiweline); the current version is v1.0.0.

💬 Comments