Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

Add test cases #272

Closed
thecsw opened this issue Nov 21, 2018 · 2 comments
Closed

Add test cases #272

thecsw opened this issue Nov 21, 2018 · 2 comments
Labels
enhancement New feature or request

Comments

@thecsw
Copy link
Owner

thecsw commented Nov 21, 2018

I had this recommendation a long time ago and I think this is the moment where we need to make some test cases for the bot.

@mappum
Copy link
Contributor

mappum commented Nov 21, 2018

Totally agree, development could be made a lot easier without having to test by hand on Reddit. Would be nice to be able to mock the Reddit API types (Submission, Comment, etc.), and the database (or at least use a throwaway test database in the tests) to test the core command handling behavior.

@thecsw thecsw added the enhancement New feature or request label Nov 22, 2018
@thecsw
Copy link
Owner Author

thecsw commented Nov 22, 2018

Absolutely!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants