Using pytest on custom actions

Hey all,

Is there any template script for testing the classes from the custom actions defined on ‘’? Auxiliar functions seem ok and ‘normal’. But stuff involving the tracker/dispatcher seems harder as I don’t know how to operate well in the python api to create ‘synthetic examples’ for the tracker.

Any tips or solid guide for testing the custom actions in Rasa?


+1 Looking for the same!

Can any one help on this please? keeping in dispatcher, tracker, domain objects into considerations, what would be a decent approach in running pytest on custom actions?

1 Like