decision-table

Generates test cases from business logic using decision table testing.

Updated Jun 8, 2026
One-click install
npx skills add https://github.com/DuyITLOR/group05_eshop --skill decision-table-duyitlor
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: decision-table
Source: https://github.com/DuyITLOR/group05_eshop/tree/main/HW/week04/ThanhDat/decision-table
Command: npx skills add https://github.com/DuyITLOR/group05_eshop --skill decision-table-duyitlor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Designing test cases for features whose behavior depends on multiple simultaneous input conditions is error-prone; this Skill systematically derives every meaningful condition combination into a decision table and converts each rule into executable test cases. ## Core Features & Use Cases - Guided 8-step workflow: identify conditions and actions, build the full decision table, reduce it with don't-care entries, and design one test case per rule. - Standardized reporting: outputs test cases with IDs like TC-<MODULE>-<NNN>, a rule-to-test-case traceability matrix, and a bug-suspicion section covering missing rules and AND/OR logic errors. - Use Case: Given a login feature with conditions like "email exists" and "password correct", the Skill produces a reduced decision table, four traceable test cases, and flags impossible combinations such as a correct password for a nonexistent email. ## Quick Start Ask the assistant to generate decision table test cases for the login feature described in the requirements document.

Frequently Asked Questions about decision-table

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

FAQPage Schema
How do I design test cases with decision table testing?▼

List all input conditions and possible actions, build a table where each column is one condition combination mapped to actions, then create at least one test case per rule. Merge rules that share actions using don't-care entries to reduce the table.

When should I use decision table testing instead of equivalence partitioning?▼

Use decision table testing when system behavior depends on the simultaneous combination of multiple conditions, such as nested if-else logic. Equivalence partitioning and boundary value analysis suit single-variable inputs but miss condition interactions.

How many rules does a decision table have?▼

A table with N binary conditions has at most 2^N rules. After reduction with don't-care entries and removal of impossible combinations, the practical number of rules and test cases is usually much smaller.

What is a don't care entry in a decision table?▼

A don't care entry, marked with a dash, means a condition does not affect the action for that rule. It lets you merge rules that produce identical actions, reducing the total number of test cases needed.

What are impossible rules in decision table testing?▼

Impossible rules are condition combinations that cannot occur in reality, such as a correct password for an email that does not exist. They should be explicitly identified, documented with the reason for exclusion, and removed from the table.