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

Missing example of test spec #35

Open
razorinc opened this issue Feb 5, 2021 · 1 comment
Open

Missing example of test spec #35

razorinc opened this issue Feb 5, 2021 · 1 comment

Comments

@razorinc
Copy link

razorinc commented Feb 5, 2021

I am looking for an example of effective spec testing of the bots with Tourmaline.

I am willing to contribute and add to all the example bots, but I would like to have some guidance/advice before starting this endeavor.

Cheers

@watzon
Copy link
Collaborator

watzon commented Feb 17, 2021

The main reason for a lack of tests is that testing API adapters like this is a pain. There are libraries such as webmock (for stubbing requests) and vcr (for capturing and replaying real world data), but I just haven't put in the time to set them up yet. I have been meaning to though, so I'll leave this issue here as a reminder of my failure until I get my butt into gear.

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

No branches or pull requests

2 participants