mirror of
https://github.com/pyt0xic/pablo-bot.git
synced 2024-11-24 14:59:23 +01:00
92 lines
1.6 KiB
YAML
92 lines
1.6 KiB
YAML
|
#### 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
|