-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testing exec replies #57
Comments
I met a similar problem, but the README taught me the answer. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With a spec:
Then a synchronous reply works as expected:
If I change the response to be the stdout of an
require('child_process').exec
such as:Then the test fails with only two messages in the room with no responses from hubot. Yet if I run the hubot then the output of
@exec command
appears as expected.How do I test code that uses
@exec command
to generate hubot responses?The text was updated successfully, but these errors were encountered: