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

Adding Tests #9

Merged
merged 10 commits into from
Apr 11, 2022
Merged

Adding Tests #9

merged 10 commits into from
Apr 11, 2022

Conversation

travipross
Copy link
Contributor

@travipross travipross commented Apr 7, 2022

Closes #4

This introduces a pytest suite of tests along with some configuration. So far, a number of unit tests have been written to cover all of the AylaApi methods that do not make any external web request. More tests can be added to this PR, or a new one could be created in the future to extend this baseline.

I'd also be happy to integrate the tests into a new github actions workflow to run on pull requests, however, I lack the permissions. Proper authentication/integration tests would also likely require a valid Shark login to be stored as a repository secret.

@travipross travipross changed the title Testing Adding Tests Apr 7, 2022
@travipross travipross mentioned this pull request Apr 7, 2022
@travipross travipross marked this pull request as ready for review April 7, 2022 02:37
@funkybunch
Copy link
Collaborator

@JeffResc looks good to me but since you had been working more closely with the tests could you take a look as well?

@JeffResc
Copy link
Owner

JeffResc commented Apr 7, 2022

Hi @travipross - Thanks for the PR, I really appreciate it! I don't have time to review this right this second, but I just wanted to reach out and say thank you. I should have time later this week and definitely by the end of this weekend to give this a look.

@travipross
Copy link
Contributor Author

No rush on my end! I'll probably keep tinkering away until then

@JeffResc
Copy link
Owner

We're a little lacking on coverage, but it's definitely a start! Thanks @travipross 👍

@JeffResc JeffResc merged commit e856382 into JeffResc:main Apr 11, 2022
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

Successfully merging this pull request may close these issues.

Add tests
3 participants