rasa-writing-e2e-tests

Generate YAML end-to-end tests for Rasa CALM assistants.

5|3|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/RasaHQ/rasa-agent-skills --skill rasa-writing-e2e-tests
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rasa-writing-e2e-tests
Source: https://github.com/RasaHQ/rasa-agent-skills/tree/main/skills/rasa-writing-e2e-tests
Command: npx skills add https://github.com/RasaHQ/rasa-agent-skills --skill rasa-writing-e2e-tests

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation and maintenance of end-to-end tests for Rasa conversational AI assistants, ensuring robust and reliable performance.

Core Features & Use Cases

  • YAML-based Test Creation: Define user interactions and expected bot responses in a clear, structured format.
  • Assertion Capabilities: Verify flows, slots, actions, and generative responses for comprehensive validation.
  • Fixtures and Stubbing: Simplify test setup with pre-filled slots and mock custom actions.
  • Use Case: You need to ensure that a user's request to book a flight correctly triggers the book_flight flow, sets the destination slot, and elicits the utter_ask_departure_date response.

Quick Start

Use the rasa-writing-e2e-tests skill to create a new test case in the 'tests/booking/' directory that simulates a user asking to book a flight and verifies the correct flow and slot are set.

Frequently Asked Questions about rasa-writing-e2e-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write end-to-end tests for Rasa conversational AI assistants?

YAML-based end-to-end tests for Rasa CALM assistants use structured syntax to define user interactions, expected bot responses, flow execution assertions, and slot settings. This format streamlines test creation and maintenance for conversational AI.

What assertions can I validate in Rasa e2e tests?

Rasa e2e tests support assertions for verifying flow execution, slot setting, action invocation, and generative response validation. You can check if a specific flow triggers correctly and whether the expected slots are populated during conversational interactions.

Can I isolate custom actions during Rasa conversational AI testing?

Yes, you can isolate custom actions during Rasa testing using stubbing. Stubbing allows you to mock custom actions for isolated action testing, while fixtures simplify test setup by providing pre-filled slots for context configuration.

Does Rasa e2e testing support pre-filling conversational context?

Rasa e2e testing supports fixtures for context setup, allowing you to pre-fill slots before test execution. This simplifies test configuration by establishing the necessary conversational state without requiring prior user interaction steps.

What is the best way to test generative responses in Rasa assistants?

The best way to test generative responses in Rasa assistants is through YAML-based e2e tests that include generative response validation assertions. This verifies that flows execute correctly and produce the expected dynamic conversational outputs.

When do I need YAML e2e tests for Rasa CALM assistants?

You need YAML e2e tests for Rasa CALM assistants when you must ensure robust conversational AI performance, such as verifying that a user request correctly triggers a specific flow, sets designated slots, and elicits the proper response.