~20 min

Generating test cases and data with AI

Effective prompts for cases, scenarios and test data.

Effective prompts for QA

The quality of what the AI generates depends on the quality of your prompt. A good prompt gives context, specifies the output format and explicitly asks to cover valid, invalid and boundary cases (the techniques from module 5).

text
Actúa como QA. Para esta historia de usuario:
'Como usuario quiero restablecer mi contraseña por correo'
genera casos de prueba en tabla con: ID, precondición, pasos,
datos, resultado esperado. Incluye casos válidos, inválidos
y de valores límite.

Prompt to generate test cases

AI is also excellent at generating synthetic test data (fake names, emails, addresses) without using real personal data, respecting privacy.

QuestionToca para voltear

Which three case types should you explicitly ask the AI for?

What makes a prompt for generating test cases effective?

¿Quieres guardar tu progreso?

Crea una cuenta gratis para guardar tu avance, ganar puntos e insignias y desbloquear los campus de ISTQB y Automatización.

Crear cuenta gratis
Siguiente Lección
Generating test cases and data with AI | PlayQAcademy