Testing rasa chatbot with custom actions

Hi all :slight_smile:

A question regarding test stories on a chatbot using custom actions: is there a way to use the custom server while rasa test is running?

I have numerous custom actions changing the behavior of the bot, and it would complicate testing if I am unable to test the rasa service and the action service as one.

I am not very hopeful, as in it mentioned in the doc that this cannot be done…

Quote:

TESTING CUSTOM ACTIONS

Custom Actions are not executed as part of test stories. If your custom actions append any events to the conversation, this has to be reflected in your test story (e.g. by adding slot_was_set events to your test story).

To test the code of your custom actions, you should write unit tests for them and include these tests in your CI/CD pipeline.