Open amenk opened 7 years ago
@amenk The way that I have been testing, is with a REST client, copying the request from the Alexa developer dashboard test page and posting those requests to the local domain. I guess you'd have to build something custom to implement this into unit tests.
It would be nice to have a suite of tests for this repo for the methods anyway.
I was having something in mind like the laravel router testing where you can send the "said" string and get a response.
@amenk Sounds good, I guess you'd have to replicate essentially what the simulator does when you test an intent in their system and it generates the request.
How can I call alexa routes from a test case?
Is there any mock prepared for this?