Fixes #297 New unit tests based on responses #303
No reviewers
Labels
No labels
Bug
Enhancement
Feature Suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: code/twython#303
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "unit_tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is ready for review. I'm going to stop work on it until I have feedback.
The test coverage dropped to 55%, but most of the tests that I skipped were sanity tests - they did not test anything specific, but made sure no exceptions were thrown.
Changes Unknown when pulling
9f7d38181eon cash:unit_tests into * on ryanmcgrath:master*.I'll look over these pull requests either later today or tomorrow! Thanks for your work! :D—
Sent from Mailbox for iPhone
On Sat, Jan 11, 2014 at 8:04 PM, Cash Costello notifications@github.com
wrote:
ryanmcgrath/twython/patch-1tests will be fine, but your branchcash/twython/unit_testswon't be because it's of another origin) EitherresponsesorBetaMaxwould work to help mock theendpointtests. The tokens are encrypted currently so that nobody (besides who encrypted them) actually knows the tokens, wouldn't want spammers spamming up the@__twython__Twitter account hahahttps://github.com/ryanmcgrath/twython/pull/303/files#diff-cc4345db19ff44863e9122c74e9f383fR55 Seems a little off, that URL doesn't exist (they haven't released a 2.0 API)
But overall, good work. Thanks!
Here is the test of interest:
This tests whether an endpoint is mapped to a correct full URL. The API version is one of the parameters and I wanted to exercise a non-default parameter (1.1 is default). I could change it to 1.0 if you prefer. Either way, it is testing the proper creation of the URL rather than testing Twitter's endpoints. Is this the only thing holding up acceptance?
Changes Unknown when pulling
c83304edf2on cash:unit_tests into * on ryanmcgrath:master*.@michaelhelmick ready to go
Yeah, other than that, it all looks good. And before we make a release, I'd like to get coverage above 80%. Again, thanks for this and I will merge this sometime later today or tomorrow! I have a busy schedule today 🍰
I'll get around tomorrow to merging this, just have had a busy week! :D
What do you want to do before you merge this? I don't see anything else to do given the Travis CI results.
Nothing, I’ve just been real busy and I wanted to look over it one more time before I merge it in. Sorry for the wait :(
--
Mike Helmick
Software Engineer
P: (330) 507-9098
T: @mikehelmick
W: https://github.com/michaelhelmick
On January 20, 2014 at 1:39:38 PM, Cash Costello (notifications@github.com) wrote:
What do you want to do before you merge this? I don't see anything else to do given the Travis CI results.
—
Reply to this email directly or view it on GitHub.
Finally had time to look over this a final time before merge, all seemed good to go! Thank you for your work @cash -- hopefully we'll see more from you! 👍