Skip to content
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

Add ability to test commands server-side #32

Merged
merged 1 commit into from
Oct 12, 2018
Merged

Conversation

verdog
Copy link
Contributor

@verdog verdog commented Oct 5, 2018

Addresses #13

Adds simulate.py.

simulate.py simply creates a Commander instance and accepts stdin as if it was messages sent in a chat room.

By default, it simulates being in #bottest:cclub.cs.wmich.edu, but you can change this by passing an argument to the script: ./simulate.py '#ccawmunity:cclub.cs.wmich.edu'. (Be sure to use quotes, or the # will be read as a comment.)

Currently, the ability to change rooms is pretty much useless, but was implemented in preparation for #27.

@verdog verdog requested a review from a team as a code owner October 5, 2018 21:23
Copy link
Member

@chrissphinx chrissphinx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it!

@AngeloDanducci AngeloDanducci merged commit 69f5778 into master Oct 12, 2018
@AngeloDanducci AngeloDanducci deleted the spacedog-simulate branch October 12, 2018 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants