QuestionQ8

Prompt Engineering for Effective Software Testing

A tester is preparing a prompt for an LLM to generate test cases. One section of the prompt states:

> “The generated test cases must be provided in a CSV file format, with columns for Test ID, Description, Preconditions, Test Steps, and Expected Result.”

In which component of the six-part prompt structure would this statement MOST LIKELY appear?

  • A Role
  • B Constraints
  • C Instruction
  • D Output format
Explanation

An output-format component defines the required structure and representation of generated content, such as CSV output and its mandated column names.

Community Discussion

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