financial-leasing-testcase

Test-case expert for financial leasing systems. Generates test cases, designs test plans, or supplements test points for leasing system modules (customer management, credit approval, leased-asset management, contract management, disbursement and repayment, accounting, invoice management, etc.). Triggered when users request actions like writing or generating test cases, test points, test plans, or mention leasing-system testing.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "financial-leasing-testcase" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a0712834ffe45888aa631490036c917aa32484681b59a9d7e2f4ceb051e52e92. Verify the upstream source and version against https://skillhub.cn/skills/user_2c3f9c48/test001-ymy before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Test-case expert for financial leasing systems. Generates test cases, designs test plans, or supplements test points for leasing system modules (customer management, credit approval, leased-asset management, contract management, disbursement and repayment, accounting, invoice management, etc.). Triggered when users request actions like writing or generating test cases, test points, test plans, or mention leasing-system testing.

0 Downloads

Introduction source: third_party · user_2c3f9c48 · 1.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: financial-leasing-testcase
description: "融资租赁系统测试用例编写专家。当用户需要为融资租赁系统(含客户管理、授信审批、租赁物管理、合同管理、放款还款、会计核算、发票管理等模块)编写测试用例、设计测试方案、补充测试点时触发。触发词包括:写测试用例、生成测试用例、设计测试用例、测试点、测试方案、融资租赁测试、lease test case、写测试case等。"
agent_created: true

融资租赁系统测试用例编写技能

面向融资租赁系统(Financial Leasing System)的测试用例设计与编写,覆盖从客户准入到租赁终结的全业务流程。

适用范围

融资租赁系统全流程模块:客户管理、授信审批、租赁物管理、合同管理、放款管理、还款管理、会计核算、发票管理、报表管理等。

触发词

中文触发词 英文触发词
写测试用例 write test cases
生成测试用例 generate test cases
设计测试用例 design test cases
写测试case create test cases
补充测试用例 add test cases
测试点有哪些 what are the test points
融资租赁测试 financial leasing test
租赁系统测试 lease system test
测试方案 test plan
test case / test cases test case(s)

工作流程

Step 1 — 确认测试目标

在编写之前,确认以下信息(若用户已提供则跳过):

  1. 目标模块:具体是哪个或哪些模块?(如「合同管理」「放款还款」)
  2. 测试类型:功能测试 / 金额计算精度测试 / 审批流程测试 / 接口测试 / 回归测试?
  3. 输入材料:需求文档、PRD、接口文档、UI 稿、数据库表结构(有则直接分析)
  4. 是否有历史版本:是否需要在已有用例基础上补充?

Step 2 — 分析业务流程与测试点

根据目标模块,加载 references/business_modules.md 获取该模块的业务流程和关键规则,然后使用以下方法系统分析测试点:

  1. 场景法:梳理主流程(基本流)+ 分支流程(备选流)
  2. 等价类划分:输入参数的有效/无效等价类
  3. 边界值分析:金额上下限、期限临界值、精度边界
  4. 决策表:审批条件组合、费率计算条件组合
  5. 错误推测法:基于融资租赁行业经验,推测易出问题的场景

参考 references/test_points_library.md 获取各模块的通用测试点库,确保不遗漏关键测试点。

若涉及金额计算,加载 references/calculation_rules.md 获取租金计算规则、精度要求及常见坑点。

若涉及接口测试,加载 references/api_test_checklist.md 获取接口测试专项检查清单。

Step 3 — 输出测试点概览

在编写完整用例之前,先输出测试点概览,结构如下:

## [模块名称] 测试点分析

### 业务流程
- 主流程:...
- 分支流程:...

### 测试点清单
| 序号 | 测试点 | 测试类型 | 优先级 | 备注 |
|------|--------|----------|--------|------|
| 1    | ...    | 功能/边界/异常 | P0-P3 | ... |

等待用户确认测试点无遗漏后,再进入 Step 4。

Step 4 — 编写测试用例

使用 assets/test_case_template.md 的 Markdown 模板或 assets/test_case_template.csv 的 CSV 模板编写用例。

融资租赁系统用例编号规范:

TC-[模块缩写]-[类型]-[序号]
模块 缩写 类型缩写
客户管理 CUST FUNC(功能)/ BIZ(业务流程)/ CALC(金额计算)
授信审批 CREDIT AUTH(权限审批)/ FLOW(流程)
租赁物管理 ASSET CALC / FUNC
合同管理 CONTRACT BIZ / FLOW / FUNC
放款管理 LOAN CALC / FLOW
还款管理 REPAY CALC / BIZ
会计核算 ACCT CALC / FUNC
发票管理 INVOICE FUNC / CALC
报表管理 RPT FUNC
接口测试 API API / SEC(安全)

示例:TC-CONTRACT-BIZ-001(合同管理-业务流程-第1条)

融资租赁用例编写要点:

  1. 金额相关用例:必须写明计算公式、输入参数和精确到分的预期金额
  2. 审批流程用例:必须写明当前节点、操作人角色、审批动作、预期流向
  3. 状态流转用例:必须列出完整的状态机(如合同状态:草稿→待审批→已生效→放款中→还款中→已结清→已关闭)
  4. 权限相关用例:必须写明操作人角色、预期有权限/无权限的行为
  5. 时间相关用例:涉及日期的用例需考虑跨月、跨年、闰年、月末等边界

Step 5 — 自检与交付

用例编写完成后,执行以下自检:

  • [ ] 标题清晰表达测试意图(含业务场景)
  • [ ] 前置条件完整可操作(含测试数据准备)
  • [ ] 金额计算用例:计算公式正确、输入输出精确到分
  • [ ] 审批流程用例:节点、角色、动作、预期流向完整
  • [ ] 覆盖正常流、异常流、边界值
  • [ ] 优先级标注合理(P0 核心交易链路、P1 主要功能、P2 次要功能、P3 边缘场景)
  • [ ] 无重复用例

交付方式:

  • 用例数量 ≤ 10 条:直接在聊天中输出 Markdown 格式
  • 用例数量 > 10 条:生成 Markdown 文件 + CSV 文件,通过附件交付
  • 用户要求导入测试平台时:同时生成 CSV 格式(使用 assets/test_case_template.csv 模板)

优先级定义(融资租赁系统专用)

优先级 标识 范围
P0 冒烟/关键 核心交易链路(合同签约→放款→还款→结清),金额计算正确性
P1 高 主要业务功能(客户准入、授信审批、租赁物管理、发票开具)
P2 中 次要功能(报表导出、数据查询、消息通知)
P3 低 边缘场景、兼容性、UI 细节

融资租赁系统通用测试关注点

编写任何模块的用例时,都应考虑以下横切关注点:

  1. 金额精度:所有金额字段保留 2 位小数,四舍五入规则是否一致
  2. 日期计算:租期计算是否包含首尾日、跨月跨年处理、闰年 2 月
  3. 状态流转:单据状态机是否完整,非法状态跳转是否被拦截
  4. 权限隔离:不同角色对数据的可见范围和操作权限
  5. 并发控制:同一单据并发操作(如同时审批、同时还款)的处理
  6. 数据一致性:上下游模块数据是否同步(如合同放款后,会计凭证是否自动生成)
  7. 操作审计:关键操作是否有日志记录(谁在什么时间做了什么操作)

Current listing version

1.0.1

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value92/100

Highlights

  • 面向融资租赁系统全流程测试用例编写,解决测试工程师在复杂金融系统中的实际痛点
  • 提供标准化测试点分析方法与用例编号规范,显著提升测试效率与质量
Trigger Precision95/100

Highlights

  • 触发词覆盖中英文,包含核心动作与领域关键词,边界清晰,变体完整
Structure and Standards94/100

Highlights

  • 结构完整,含五步工作流程、优先级定义与通用关注点,提供端到端示例与交付规范
Execution Reliability72/100

Areas to improve

  • Missing referenced files Reported severity: Major

    SKILL.md 引用了 references/business_modules.md、references/test_points_library.md、references/calculation_rules.md、references/api_test_checklist.md 及 assets/test_case_template.md/csv 等多个文件,但传入内容中未提供这些文件

    Recommendation: 请补充所有被引用的参考文件与模板文件,确保 Skill 可独立完整执行

Highlights

  • 金额精度、审批流程、状态流转等关键测试点覆盖全面,自检清单完善
Evidence Verifiability (mean of the first four)88/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.