Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants