first commit
This commit is contained in:
commit
5608bc14f3
54 files changed
+471
No files matched your search
@@ -0,0 +1,91 @@
|
||||
#### 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
|
||||
Reference in new issue
Block a user