unit-test-wechat-miniprogram
CommunityRobust unit tests for WeChat Mini Programs.
Software Engineering#automation#jest#unit-testing#testing-strategy#wechat-miniprogram#miniprogram-simulate#wx-api
Authorsunzhk
Version1.0.0
Installs0
System Documentation
What problem does it solve?
微信小程序的单元测试缺乏统一的策略和对边界的覆盖。本技能提供围绕业务逻辑、数据转换与 wx API 边界的可执行测试策略与覆盖建议,确保测试在 Jest/ miniprogram-simulate 环境中落地。
Core Features & Use Cases
- 提供基于官方文档的测试基线与执行规范,帮助团队统一测试口径
- 覆盖业务逻辑、数据转换以及 wx API 边界下的测试用例设计
- 引导在 unit-test-router 入口处的分发与集成流程
Quick Start
Apply this guide to set up Jest with miniprogram-simulate and run a basic unit test for a component.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: unit-test-wechat-miniprogram Download link: https://github.com/sunzhk/shared-skills/archive/main.zip#unit-test-wechat-miniprogram Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.