-
-
Notifications
You must be signed in to change notification settings - Fork 98
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
Testing #22
Comments
I think the most difficult part is that currently the functions return strings with the data one is looking for rather than the JSON data from the API itself. Along with this issue, #23 should be worked on at the same time. |
The primary function is get() which returns the json data from the API, and the other functions are mostly just examples.
Implementing a test suite is in my plan, but I have no experience with that and have other priorities before spending much time figuring it out. It also seems rather difficult to provide coverage across all the data points—I would likely only be able to create tests to ensure the included functions return the expected data.
If you want to help with this, either some kind of testing or additional functions, feel free to submit pull requests against the develop branch.
|
@toddrob99 I'll definitely start working on something 👍 😄 P.S. Thanks for this repo/project, literally saves a lot of people a lot of time, looking forward to seeing it continue to grow. |
@skellet0r, I don't really know what I'm doing with testing, but before you posted this issue, I had created a file to mess around a little bit. If you are working on this, maybe you can use this: test_schedule.py
|
Addressed in v0.1.5 -- Thank you! |
Implementing some sort of testing could help to alleviate issues such as #6 , #7 , #9 , #12 and also completely eliminate the need for Logging debug information #19 as all code will be up to spec.
The text was updated successfully, but these errors were encountered: