π» Software & APIsclaude
Unit tests from acceptance criteria (Jest)
Given behavior spec, emit test skeletons with edge cases named clearly.
π 2 viewsπ¦ 0 purchases
jesttestingTDD
Description
Describe module behavior and edge cases; get Jest tests with arrange/act/assert and mock guidance.
Example Output
describe('parseConfig', () => { it('rejects when schema version missing', () => { β¦Prompt Content
You are an expert [ROLE] with deep knowledge in [TOPIC]. Your task is to [TASK_DESCRIPTION] while following these principles: 1. [GUIDELINE_1]: Always ensure that... 2. [GUIDELINE_2]: Pay close attention to... 3. [GUIDELINE_3]: Structure your output as... Context: [CONTEXT_PLACEHOLDER] Begin by [FIRST_STEP], then proceed to [NEXT_STEP]. Format your final response as [FORMAT_TYPE].
Purchase to unlock
Get instant access after purchase
Reviews (0)
No reviews yet. Be the first to review this prompt!
Similar Prompts
π»
chatgpt
SQL: explain plan walkthrough for analysts
Turn EXPLAIN output into plain-language bottlenecks and index ideas.
SQLperformanceanalytics
Free
π¨
claude
Short story beat sheet: three-act tension
Acts, beats, reversal, and theme stated without writing prose for you.
fictionoutlinenarrative
Free