QuestionQ10

Prompt Engineering for Effective Software Testing

A test lead needs an LLM to produce a comprehensive test-plan summary that requires iterative refinement and review. The task is complex and benefits from being divided into smaller, verifiable steps, where the output from one step informs the next.

Which core prompting technique is BEST suited to this scenario?

  • A Few-shot prompting
  • B Meta prompting
  • C Prompt chaining
  • D Zero-shot prompting.
Explanation

Prompt chaining breaks a complex workflow into sequential prompts, using the output from each step as input or context for the next. This supports iterative refinement, review, and validation of a comprehensive test-plan summary.

Community Discussion

No comments yet. Be the first to start the discussion!