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

Automated tests with pytest #37

Closed
soerenetler opened this issue Oct 21, 2022 · 1 comment
Closed

Automated tests with pytest #37

soerenetler opened this issue Oct 21, 2022 · 1 comment

Comments

@soerenetler
Copy link
Collaborator

I think the examples folder should be rewritten as tests. This would still serve their purpose for examples but also give test to find potential bugs earlier. I already created a first version what this could look like. The TOKEN, PHONE_NUMBER_ID and RECIPIENT_ID could be put in the github secrets and the tests could be execute after commit on the main branch. For local testing everyone has to provide his/her own environment secrets.

@soerenetler
Copy link
Collaborator Author

This is implemented in #38

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

1 participant