Individual skill
test-oracle-generator
Generates automated test oracles to verify correct software behavior. Creates assertion-based oracles (expected values), property-based oracles (invariants), differential oracles (comparing implementations), and metamorphic oracles (input transformations). Use when you need to generate assertions for test cases, identify invariants that should always hold, compare new vs legacy implementations, create metamorphic test relationships, validate function correctness, or improve test coverage with better verification strategies. Supports Python (pytest, unittest, hypothesis) and Java (JUnit, property testing).
skills/test-oracle-generator/SKILL.md
Source commit 4f38503747e0617504bce5329283ef837d375c09
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 260
- Repository last updated
- Aug 21, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- claude-skills Repository topic
- metaprogramming Repository topic
- software-development Repository topic
- software-engineering Repository topic
- claude Repository topic
- claude-code Repository topic
- testing Derived category
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesSKILL.mdcore · 14,181 bytesreferences/metamorphic_patterns.mddoc · 10,696 bytesreferences/property_patterns.mddoc · 8,452 bytes
Read excerpt
# Test Oracle Generator
Generate automated test oracles to verify correct software behavior across multiple oracle types.
## Oracle Types
1. **Assertion-based**: Compare actual vs expected output
2. **Property-based**: Verify invariants that should always hold
3. **Differential**: Compare new implementation against reference
4. **Metamorphic**: Test input-output transformations
## Workflow
### Step 1: Analyze the Function Under Test