forked from 1827133/BA-Chatbot
92 lines
1.7 KiB
YAML
Executable File
92 lines
1.7 KiB
YAML
Executable File
#### This file contains tests to evaluate that your bot behaves as expected.
|
|
#### If you want to learn more, please see the docs: https://rasa.com/docs/rasa/testing-your-assistant
|
|
|
|
stories:
|
|
- story: happy path 1
|
|
steps:
|
|
- user: |
|
|
hello there!
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
amazing
|
|
intent: mood_great
|
|
- action: utter_happy
|
|
|
|
- story: happy path 2
|
|
steps:
|
|
- user: |
|
|
hello there!
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
amazing
|
|
intent: mood_great
|
|
- action: utter_happy
|
|
- user: |
|
|
bye-bye!
|
|
intent: goodbye
|
|
- action: utter_goodbye
|
|
|
|
- story: sad path 1
|
|
steps:
|
|
- user: |
|
|
hello
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
not good
|
|
intent: mood_unhappy
|
|
- action: utter_cheer_up
|
|
- action: utter_did_that_help
|
|
- user: |
|
|
yes
|
|
intent: affirm
|
|
- action: utter_happy
|
|
|
|
- story: sad path 2
|
|
steps:
|
|
- user: |
|
|
hello
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
not good
|
|
intent: mood_unhappy
|
|
- action: utter_cheer_up
|
|
- action: utter_did_that_help
|
|
- user: |
|
|
not really
|
|
intent: deny
|
|
- action: utter_goodbye
|
|
|
|
- story: sad path 3
|
|
steps:
|
|
- user: |
|
|
hi
|
|
intent: greet
|
|
- action: utter_greet
|
|
- user: |
|
|
very terrible
|
|
intent: mood_unhappy
|
|
- action: utter_cheer_up
|
|
- action: utter_did_that_help
|
|
- user: |
|
|
no
|
|
intent: deny
|
|
- action: utter_goodbye
|
|
|
|
- story: say goodbye
|
|
steps:
|
|
- user: |
|
|
bye-bye!
|
|
intent: goodbye
|
|
- action: utter_goodbye
|
|
|
|
- story: bot challenge
|
|
steps:
|
|
- user: |
|
|
are you a bot?
|
|
intent: bot_challenge
|
|
- action: utter_iamabot
|